|
@@ -103,6 +103,7 @@ public class IFlowOpinionService {
|
|
|
if (Objects.isNull(entity.getIsvalid())) {
|
|
|
entity.setIsvalid(1);
|
|
|
}
|
|
|
+ entity.setOpinionContent("同意");
|
|
|
entity.setCreateTime(new Date());
|
|
|
entity.setLatestModifyTime(new Date());
|
|
|
if (Objects.isNull(entity.getIndexCode())) {
|
|
@@ -185,6 +186,7 @@ public class IFlowOpinionService {
|
|
|
entity.setId(UUID.hex32());
|
|
|
entity.setIsvalid(1);
|
|
|
entity.setCreateTime(new Date());
|
|
|
+ entity.setOpinionContent("同意");
|
|
|
entity.setLatestModifyTime(new Date());
|
|
|
entity.setIndexCode(getMaxSortNum() + 1);
|
|
|
return entity;
|
|
@@ -222,6 +224,7 @@ public class IFlowOpinionService {
|
|
|
iFlowOpinion.setActivityInstanceId(activityInsId);
|
|
|
iFlowOpinion.setParticipantId(participantId);
|
|
|
iFlowOpinion.setCreateTime(new Date());
|
|
|
+ iFlowOpinion.setOpinionContent("同意");
|
|
|
iFlowOpinion.setCreateWorker(Constant.getUserId());
|
|
|
iFlowOpinion.setFlowOpinionId(opinionTempId);
|
|
|
iFlowOpinion.setiDisplay(1);
|
|
@@ -303,10 +306,9 @@ public class IFlowOpinionService {
|
|
|
//region 获取用户签章信息
|
|
|
String siginUrl = "";//电子签章
|
|
|
String sininName = "";//文字签名
|
|
|
- if(!StringUtils.isBlank(doingUserId) && !readOnly) {
|
|
|
+ if(!StringUtils.isBlank(doingUserId)) {
|
|
|
AdminUserRespDTO user = callInterfaceService.getUserByUserId(doingUserId);
|
|
|
- // TOOD 用户体系未添加签名
|
|
|
- siginUrl = "";
|
|
|
+ siginUrl = user.getSignatureUrl();
|
|
|
sininName = user.getNickname();
|
|
|
} else {
|
|
|
doingUserId = "";
|
|
@@ -639,7 +641,7 @@ public class IFlowOpinionService {
|
|
|
}
|
|
|
|
|
|
|
|
|
- System.out.println(opinionItem.getId() + "-----" + opinionItem.getParticipantId() + "---------------"+opinionItem.getUserId());
|
|
|
+// System.out.println(opinionItem.getId() + "-----" + opinionItem.getParticipantId() + "---------------"+opinionItem.getUserId());
|
|
|
String opSininName = iActivityInsParticiPantService.selectNameByParticipantId(opinionItem.getParticipantId());
|
|
|
|
|
|
if (!StringUtils.isBlank(opinionItem.getSign())) {
|