|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
import org.springblade.core.secure.utils.AuthUtil;
|
|
import org.springblade.core.secure.utils.AuthUtil;
|
|
|
|
+import org.springblade.core.secure.utils.SecureUtil;
|
|
import org.springblade.manager.dto.SaveUserInfoByProjectDTO;
|
|
import org.springblade.manager.dto.SaveUserInfoByProjectDTO;
|
|
import org.springblade.manager.entity.TextdictInfo;
|
|
import org.springblade.manager.entity.TextdictInfo;
|
|
import org.springblade.manager.service.ITextdictInfoService;
|
|
import org.springblade.manager.service.ITextdictInfoService;
|
|
@@ -48,6 +49,8 @@ public class EVisaConfigClientImpl implements EVisaConfigClient {
|
|
|
|
|
|
} else {
|
|
} else {
|
|
//需要获取这条任务对应合同段下当前用户的岗位
|
|
//需要获取这条任务对应合同段下当前用户的岗位
|
|
|
|
+ System.out.println(AuthUtil.getUserId());
|
|
|
|
+ System.out.println(SecureUtil.getUserId());
|
|
List<SaveUserInfoByProjectDTO> contractUserList = this.saveUserInfoByProjectService.list(Wrappers.<SaveUserInfoByProjectDTO>lambdaQuery().eq(SaveUserInfoByProjectDTO::getContractId, contractId).eq(SaveUserInfoByProjectDTO::getUserId, AuthUtil.getUserId()));
|
|
List<SaveUserInfoByProjectDTO> contractUserList = this.saveUserInfoByProjectService.list(Wrappers.<SaveUserInfoByProjectDTO>lambdaQuery().eq(SaveUserInfoByProjectDTO::getContractId, contractId).eq(SaveUserInfoByProjectDTO::getUserId, AuthUtil.getUserId()));
|
|
|
|
|
|
List<String> userRoleList;
|
|
List<String> userRoleList;
|
|
@@ -64,7 +67,8 @@ public class EVisaConfigClientImpl implements EVisaConfigClient {
|
|
configResult.forEach(config -> {
|
|
configResult.forEach(config -> {
|
|
JSONObject jsonObject = new JSONObject();
|
|
JSONObject jsonObject = new JSONObject();
|
|
//标识
|
|
//标识
|
|
- jsonObject.put("KEY", Boolean.parseBoolean(isFinal) ? config.getColName() : config.getId());
|
|
|
|
|
|
+ // jsonObject.put("KEY", Boolean.parseBoolean(isFinal) ? config.getColName() : config.getId());
|
|
|
|
+ jsonObject.put("KEY", config.getId());
|
|
if(Boolean.parseBoolean(isFinal)){
|
|
if(Boolean.parseBoolean(isFinal)){
|
|
jsonObject.put("type", config.getSigRoleId());
|
|
jsonObject.put("type", config.getSigRoleId());
|
|
}
|
|
}
|