|
@@ -1007,7 +1007,7 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
|
|
row0.setHeightInPoints(25);
|
|
row0.setHeightInPoints(25);
|
|
cell = row0.createCell(1);
|
|
cell = row0.createCell(1);
|
|
cell.setCellStyle(styleTitle);
|
|
cell.setCellStyle(styleTitle);
|
|
- cell.setCellValue("合同信息");
|
|
|
|
|
|
+ cell.setCellValue("代收合同信息");
|
|
sheet.addMergedRegion(new CellRangeAddress(rownum, rownum, (short) 1, (short) 13));
|
|
sheet.addMergedRegion(new CellRangeAddress(rownum, rownum, (short) 1, (short) 13));
|
|
cell = row0.createCell(2);
|
|
cell = row0.createCell(2);
|
|
cell.setCellStyle(styleTitle);
|
|
cell.setCellStyle(styleTitle);
|
|
@@ -1089,8 +1089,6 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
|
|
if (CollectionUtils.isNotEmpty(contractManagementInfos)) {
|
|
if (CollectionUtils.isNotEmpty(contractManagementInfos)) {
|
|
for (int i = 0; i < contractManagementInfos.size(); i++) {
|
|
for (int i = 0; i < contractManagementInfos.size(); i++) {
|
|
ContractManagementInfo contractManagementInfo = contractManagementInfos.get(i);
|
|
ContractManagementInfo contractManagementInfo = contractManagementInfos.get(i);
|
|
- ContractProcessInfo contractProcessInfo = contractProcessInfoService.selectOne(new EntityWrapper<ContractProcessInfo>()
|
|
|
|
- .eq("contract_id",contractManagementInfo.getId()));
|
|
|
|
HSSFRow rowx = sheet.createRow((int) rownum);
|
|
HSSFRow rowx = sheet.createRow((int) rownum);
|
|
rowx.setHeightInPoints(20);
|
|
rowx.setHeightInPoints(20);
|
|
cell = rowx.createCell(1);
|
|
cell = rowx.createCell(1);
|
|
@@ -1112,24 +1110,24 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
|
|
cell.setCellValue(editFloat(contractManagementInfo.getWeight()));
|
|
cell.setCellValue(editFloat(contractManagementInfo.getWeight()));
|
|
cell.setCellStyle(contextstyle);
|
|
cell.setCellStyle(contextstyle);
|
|
HSSFDataFormat format1 = wb.createDataFormat(); // 此处设置数据格式
|
|
HSSFDataFormat format1 = wb.createDataFormat(); // 此处设置数据格式
|
|
- contextstyle.setDataFormat(format1.getFormat("0.000"));
|
|
|
|
|
|
+ contextstyle.setDataFormat(format1.getFormat("0.00"));
|
|
cell = rowx.createCell(7);
|
|
cell = rowx.createCell(7);
|
|
- cell.setCellValue(editFloat(contractManagementInfo.getCompletedQuantity()));
|
|
|
|
|
|
+ cell.setCellValue(editDouble(contractManagementInfo.getCompleted()));
|
|
cell.setCellStyle(contextstyle);
|
|
cell.setCellStyle(contextstyle);
|
|
cell = rowx.createCell(8);
|
|
cell = rowx.createCell(8);
|
|
cell.setCellValue(editDouble(contractManagementInfo.getAmountIngPayable()));
|
|
cell.setCellValue(editDouble(contractManagementInfo.getAmountIngPayable()));
|
|
- cell.setCellStyle(styleDetail);
|
|
|
|
|
|
+ cell.setCellStyle(contextstyle);
|
|
cell = rowx.createCell(9);
|
|
cell = rowx.createCell(9);
|
|
- cell.setCellValue(editString(contractManagementInfo.getAmountEdPayable()));
|
|
|
|
- cell.setCellStyle(styleDetail);
|
|
|
|
|
|
+ cell.setCellValue(editDouble(contractManagementInfo.getAmountEdPayableNew()));
|
|
|
|
+ cell.setCellStyle(contextstyle);
|
|
cell = rowx.createCell(10);
|
|
cell = rowx.createCell(10);
|
|
cell.setCellValue(editDouble(contractManagementInfo.getAmountNotCollectable()));
|
|
cell.setCellValue(editDouble(contractManagementInfo.getAmountNotCollectable()));
|
|
- cell.setCellStyle(styleDetail);
|
|
|
|
|
|
+ cell.setCellStyle(contextstyle);
|
|
cell = rowx.createCell(11);
|
|
cell = rowx.createCell(11);
|
|
cell.setCellValue(editDouble(contractManagementInfo.getAmountEdCollectionable()));
|
|
cell.setCellValue(editDouble(contractManagementInfo.getAmountEdCollectionable()));
|
|
- cell.setCellStyle(styleDetail);
|
|
|
|
|
|
+ cell.setCellStyle(contextstyle);
|
|
cell = rowx.createCell(12);
|
|
cell = rowx.createCell(12);
|
|
- cell.setCellValue(editFloat(Float.valueOf(String.valueOf(contractProcessInfo.getGoodsName()!=null?contractProcessInfo.getGoodsName():"0"))));
|
|
|
|
|
|
+ cell.setCellValue(editDouble(contractManagementInfo.getInvoiced()));
|
|
cell.setCellStyle(styleDetail);
|
|
cell.setCellStyle(styleDetail);
|
|
cell = rowx.createCell(13);
|
|
cell = rowx.createCell(13);
|
|
cell.setCellValue(editString(contractManagementInfo.getStatus()!=null?contractManagementInfo.getStatus():contractManagementInfo.getApproveStatus()));
|
|
cell.setCellValue(editString(contractManagementInfo.getStatus()!=null?contractManagementInfo.getStatus():contractManagementInfo.getApproveStatus()));
|