工作组修改
This commit is contained in:
@@ -121,4 +121,11 @@ public class PayProjectCommon {
|
||||
* 文件下载次数上线
|
||||
*/
|
||||
public final static Integer DOWNLOAD_COUNT = 5;
|
||||
/**
|
||||
* toBeUploaded 待上传
|
||||
* toBeReviewed 待审核
|
||||
* rejected 已拒绝
|
||||
* completed 已完结
|
||||
*/
|
||||
public final static String PAYMENT_STATUS = "toBeUploaded";
|
||||
}
|
||||
|
||||
+6
@@ -315,6 +315,12 @@ public class PayWorkingGroupServiceImpl extends ServiceImpl<PayWorkingGroupMappe
|
||||
p.setCreateTime(null);
|
||||
p.setUpdateBy(null);
|
||||
p.setUpdateTime(null);
|
||||
if(p.getReceivableAmount().compareTo(new BigDecimal("0")) > 0){
|
||||
p.setPaymentStatus(PayProjectCommon.PAYMENT_STATUS);
|
||||
}else{
|
||||
p.setPaymentStatus(null);
|
||||
}
|
||||
|
||||
p.setWorkingGroupId(payWorkingGroupOld.getId());
|
||||
});
|
||||
payWorkingGroupSubItemService.saveBatch(listPayWorkingGroupSubItem);
|
||||
|
||||
Reference in New Issue
Block a user