|
|
@@ -39,7 +39,7 @@ public class ContractLogServiceImpl implements ContractLogService {
|
|
|
private NoticeMapper noticeMapper;
|
|
|
@Autowired
|
|
|
private UserMapper userMapper;
|
|
|
-
|
|
|
+
|
|
|
@Override
|
|
|
public List<ContractLog> selectContractLogByCid(String cid) {
|
|
|
return contractLogMapper.selectContractLogByCid(cid);
|
|
|
@@ -54,7 +54,7 @@ public class ContractLogServiceImpl implements ContractLogService {
|
|
|
} catch (ParseException e) {
|
|
|
}
|
|
|
}
|
|
|
- if (ContractStatus.COMPLETE.getCode() == icl.getStatus()) {
|
|
|
+ if (ContractStatus.COMPLETE.getCode().equals(icl.getStatus())) {
|
|
|
Contract c = contractMapper.selectByPrimaryKey(icl.getCid());
|
|
|
c.setStatus(icl.getStatus());
|
|
|
c.setCompleteDate(recordTime);
|
|
|
@@ -62,8 +62,9 @@ public class ContractLogServiceImpl implements ContractLogService {
|
|
|
}
|
|
|
List<ContractLog> logs = new ArrayList<>();
|
|
|
List<Notice> notice = new ArrayList<>();
|
|
|
+ ContractLog cl = null;
|
|
|
for (int i = 0; i < principals.length; i++) {
|
|
|
- ContractLog cl = new ContractLog();
|
|
|
+ cl = new ContractLog();
|
|
|
BeanUtils.copyProperties(icl, cl);
|
|
|
cl.setId(UUID.randomUUID().toString());
|
|
|
cl.setOperator(TokenManager.getAdminId());
|
|
|
@@ -101,5 +102,4 @@ public class ContractLogServiceImpl implements ContractLogService {
|
|
|
return n;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
}
|