Commit bcaeb8e0 by lzxry

bug

parent c4bd8d62
......@@ -619,8 +619,11 @@ public class ContractServiceImpl implements ContractService {
new DateTime(new DateTime().toString("yyyy-MM-dd")))) {
resource.setStatus(ContractStatusEnum.LATE.getKey());
}
Long relationContract = resource.getRelationContract();
Contract one = contractRepository.findOne(relationContract);
resource.setRelationCode(one.getContractCode());
String relationCode = resource.getRelationCode();
resource.setStartDate(one.getStartDate());
String platform = resource.getPlatform();
while(true){
Contract contract = contractRepository.findByCodePlatform(relationCode, platform);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment