|
@@ -79,10 +79,6 @@ public class TranSettlementReportServiceImpl extends ServiceImpl<TranSettlementR
|
|
|
if(!CollectionUtils.isEmpty(tranSettlementReports)){
|
|
|
for(int i=0;i<tranSettlementReports.size();i++){
|
|
|
TranSettlementReport tranSettlementReport= tranSettlementReports.get(i);
|
|
|
- if(tranSettlementReport.getCreateUserId() != null){
|
|
|
- CommonStaff commonStaff = staffService.getInfo(tranSettlementReport.getCreateUserId());
|
|
|
- tranSettlementReport.setCreater(commonStaff.getStaffName());
|
|
|
- }
|
|
|
TranCarInfo tranCarInfo=tranCarInfoService.selectById(tranSettlementReport.getCarId());
|
|
|
if (tranCarInfo!=null){
|
|
|
TranProcessInfo tranProcessInfo=tranProcessInfoService.selectById(tranCarInfo.getProcessId());
|
|
@@ -530,6 +526,8 @@ public class TranSettlementReportServiceImpl extends ServiceImpl<TranSettlementR
|
|
|
//批量
|
|
|
if (!CollectionUtils.isEmpty(tranSettlementReportList)) {
|
|
|
for (TranSettlementReport tranSettlementReport1 : tranSettlementReportList) {
|
|
|
+ tranSettlementReport1.setRequestDate(new Date());
|
|
|
+ tranSettlementReport1.setRequester(AuthSecurityUtils.getStaffById(AuthSecurityUtils.getCurrentUserId()).getStaffName());
|
|
|
tranSettlementReport1.setBatchId(batchReviewInfo.getId());
|
|
|
this.updateById(tranSettlementReport1);
|
|
|
}
|