feat: There is no way the, 企标审批完入库后,入库人应为流程发起人
This commit is contained in:
@@ -21,5 +21,7 @@ public interface ISarUpdLogService extends IService<SarUpdLog> {
|
||||
|
||||
void createBaseLog(String sarId, String sarType, String content) throws Exception;
|
||||
|
||||
void createBaseProcessLog(String sarId, String sarType, String content,String user) throws Exception;
|
||||
|
||||
void createUpdateLog(String sarType, String sarId, Map<String, Object> oldMap, Map<String, Object> newMap, String standContent) throws Exception;
|
||||
}
|
||||
|
||||
+11
@@ -266,4 +266,15 @@ public class SarUpdLogServiceImpl extends ServiceImpl<SarUpdLogDao, SarUpdLog> i
|
||||
dao.insert(sarUpdLogEO);
|
||||
}
|
||||
|
||||
public void createBaseProcessLog (String sarId,String sarType,String content,String user) throws Exception {
|
||||
SarUpdLog sarUpdLogEO = new SarUpdLog();
|
||||
sarUpdLogEO.setId(UUIDUtils.randomUUID20());
|
||||
sarUpdLogEO.setSarId(sarId);
|
||||
sarUpdLogEO.setSarType(sarType);
|
||||
sarUpdLogEO.setCreationTime(new Date());
|
||||
sarUpdLogEO.setCreationUser(StringUtils.isNotBlank(user) ? user : (LoginUserUtil.getUserId() == null ? "" : LoginUserUtil.getUserId()));
|
||||
sarUpdLogEO.setContent(content);
|
||||
dao.insert(sarUpdLogEO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user