|
@@ -19,6 +19,8 @@ import com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDTO;
|
|
|
import com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDetailDTO;
|
|
|
import com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceReceivablesDTO;
|
|
|
import com.jeeplus.finance.invoice.service.mapstruct.*;
|
|
|
+import com.jeeplus.finance.projectRecords.mapper.CwProjectRecordsMapper;
|
|
|
+import com.jeeplus.finance.projectRecords.service.dto.CwProjectRecordsDTO;
|
|
|
import com.jeeplus.finance.workClientInfo.domain.CwWorkClientBase;
|
|
|
import com.jeeplus.finance.workClientInfo.domain.CwWorkClientBilling;
|
|
|
import com.jeeplus.finance.workClientInfo.service.CwWorkClientBillingService;
|
|
@@ -60,6 +62,9 @@ public class CwFinanceInvoiceService extends ServiceImpl<CwFinanceInvoiceMapper,
|
|
|
private CwFinanceInvoiceReceivablesMapper cwFinanceInvoiceReceivablesMapper;
|
|
|
@Resource
|
|
|
private CwFinanceInvoiceInvalidMapper cwFinanceInvoiceInvalidMapper;
|
|
|
+ @Resource
|
|
|
+ private CwProjectRecordsMapper cwProjectRecordsMapper;
|
|
|
+
|
|
|
// @Resource
|
|
|
// private SerialnumTplService serialnumTplService;
|
|
|
// @Resource
|
|
@@ -222,9 +227,12 @@ public class CwFinanceInvoiceService extends ServiceImpl<CwFinanceInvoiceMapper,
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+// String label = cwProjectRecordsMapper.selectLabel();
|
|
|
+// queryWrapper.eq("sdv.dict_type_id",label);
|
|
|
checkNum.getAndIncrement();
|
|
|
+
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
// 经办人
|
|
|
if (StringUtils.isNotBlank(cwFinanceInvoiceDTO.getOperator())){
|
|
|
queryWrapper.like("su.name", cwFinanceInvoiceDTO.getOperator());
|
|
@@ -304,6 +312,8 @@ public class CwFinanceInvoiceService extends ServiceImpl<CwFinanceInvoiceMapper,
|
|
|
break;
|
|
|
}
|
|
|
}*/
|
|
|
+// cwFinanceInvoiceMapper.selectList(new QueryWrapper<CwFinanceInvoice>().inSql("sdv.dict_type_id","SELECT id FROM `sys_dict_type` WHERE type='cw_work_client_report_type'"));
|
|
|
+// queryWrapper.select("SELECT id FROM `sys_dict_type` WHERE type='cw_work_client_report_type'");
|
|
|
|
|
|
|
|
|
return cwFinanceInvoiceMapper.findList(page,queryWrapper,officeIds.toString());
|
|
@@ -356,6 +366,9 @@ public class CwFinanceInvoiceService extends ServiceImpl<CwFinanceInvoiceMapper,
|
|
|
if (StringUtils.isBlank(cwFinanceInvoice.getReceivablesStatus())){
|
|
|
cwFinanceInvoice.setReceivablesStatus("0");
|
|
|
}
|
|
|
+ if(StringUtils.isBlank(cwFinanceInvoice.getReportType())){
|
|
|
+ cwFinanceInvoice.setReportType(cwFinanceInvoiceDTO.getReportType());
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(cwFinanceInvoiceDTO.getId())){
|