fix(标准宣贯流程): 联络人

This commit is contained in:
yjz
2023-12-12 17:10:49 +08:00
parent 295a76db35
commit 8c3cb3b695
3 changed files with 5 additions and 3 deletions
@@ -76,8 +76,11 @@ public class ProcessEsDeclare extends BaseEntity {
private java.lang.String attendUnit; private java.lang.String attendUnit;
/**联络人*/ /**联络人*/
@ApiModelProperty(value = "联络人") @ApiModelProperty(value = "联络人")
@TableField(exist = false)
private java.lang.String initiator; private java.lang.String initiator;
/**联络人 翻译*/
@ApiModelProperty(value = "联络人 翻译")
@TableField(exist = false)
private java.lang.String initiatorDictText;
/**紧急程度(1:一般 2:急)*/ /**紧急程度(1:一般 2:急)*/
@Excel(name = "紧急程度(1:一般 2:急)", width = 15) @Excel(name = "紧急程度(1:一般 2:急)", width = 15)
@ApiModelProperty(value = "紧急程度(1:一般 2:急)") @ApiModelProperty(value = "紧急程度(1:一般 2:急)")
@@ -148,7 +148,6 @@ public class EsDeclareFlowServiceImpl implements IEsDeclareFlowService {
.set(OSSFile::getStandardNo, enterpriseStandardDeclare.getStandardNo()) .set(OSSFile::getStandardNo, enterpriseStandardDeclare.getStandardNo())
.set(OSSFile::getStandardFileType, "associated_file")); .set(OSSFile::getStandardFileType, "associated_file"));
} }
} }
@Override @Override
@@ -149,7 +149,7 @@ public class ProcessEsDeclareServiceImpl extends ServiceImpl<ProcessEsDeclareMap
// 宣贯人 // 宣贯人
processEsDeclare.setDeclareUserDictText(sysUserService.dictByIdsOrUserNames(processEsDeclare.getDeclareUser(), "")); processEsDeclare.setDeclareUserDictText(sysUserService.dictByIdsOrUserNames(processEsDeclare.getDeclareUser(), ""));
// 联络人 // 联络人
processEsDeclare.setInitiator(lawsContactManageService.queryByDepartIds(processEsDeclare.getAttendUnit())); processEsDeclare.setInitiatorDictText(sysUserService.dictByIdsOrUserNames(processEsDeclare.getInitiator(), ""));
} }
return processEsDeclare; return processEsDeclare;
} }