xzd前缀添加

This commit is contained in:
lg
2025-10-25 17:21:16 +08:00
parent edf0d1a5db
commit e73c808bc3
61 changed files with 105 additions and 298 deletions

View File

@ -35,7 +35,7 @@ import org.dromara.xzd.biddingManagement.biaoqianlixiang.service.IXzdBidPreProje
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/biddingManagement/bidPreProject") @RequestMapping("/xzd/biddingManagement/bidPreProject")
public class XzdBidPreProjectController extends BaseController { public class XzdBidPreProjectController extends BaseController {
private final IXzdBidPreProjectService xzdBidPreProjectService; private final IXzdBidPreProjectService xzdBidPreProjectService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/biddingDocument/biddingFileEstimate") @RequestMapping("/xzd/biddingDocument/biddingFileEstimate")
public class XzdBiddingFileEstimateController extends BaseController { public class XzdBiddingFileEstimateController extends BaseController {
private final IXzdBiddingFileEstimateService xzdBiddingFileEstimateService; private final IXzdBiddingFileEstimateService xzdBiddingFileEstimateService;

View File

@ -82,6 +82,13 @@ public class XzdBiddingFileEstimateVo implements Serializable {
@ExcelProperty(value = "招标单位") @ExcelProperty(value = "招标单位")
private String biddingUnit; private String biddingUnit;
/**
* 招标单位
*/
@ExcelProperty(value = "招标单位")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "biddingUnit")
private String biddingUnitName;
/** /**
* 招标方式 * 招标方式
*/ */

View File

@ -34,7 +34,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/biddingDocument/biddingDocument") @RequestMapping("/xzd/biddingDocument/biddingDocument")
public class XzdBiddingDocumentController extends BaseController { public class XzdBiddingDocumentController extends BaseController {
private final IXzdBiddingDocumentService xzdBiddingDocumentService; private final IXzdBiddingDocumentService xzdBiddingDocumentService;

View File

@ -80,6 +80,14 @@ public class XzdBiddingDocumentVo implements Serializable {
@ExcelProperty(value = "投标单位") @ExcelProperty(value = "投标单位")
private String bidUnit; private String bidUnit;
/**
* 投标单位
*/
@ExcelProperty(value = "投标单位")
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "bidUnit")
private String bidUnitName;
/** /**
* 单据日期 * 单据日期
*/ */

View File

@ -33,7 +33,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/earnestMoney/bidDepositPayment") @RequestMapping("/xzd/earnestMoney/bidDepositPayment")
public class XzdBidDepositPaymentController extends BaseController { public class XzdBidDepositPaymentController extends BaseController {
private final IXzdBidDepositPaymentService xzdBidDepositPaymentService; private final IXzdBidDepositPaymentService xzdBidDepositPaymentService;

View File

@ -33,7 +33,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/biddingManagement/bidDepositRecovery") @RequestMapping("/xzd/biddingManagement/bidDepositRecovery")
public class XzdBidDepositRecoveryController extends BaseController { public class XzdBidDepositRecoveryController extends BaseController {
private final IXzdBidDepositRecoveryService xzdBidDepositRecoveryService; private final IXzdBidDepositRecoveryService xzdBidDepositRecoveryService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/paymentapplication/biddingAgencyFeePayment") @RequestMapping("/xzd/paymentapplication/biddingAgencyFeePayment")
public class XzdBiddingAgencyFeePaymentController extends BaseController { public class XzdBiddingAgencyFeePaymentController extends BaseController {
private final IXzdBiddingAgencyFeePaymentService xzdBiddingAgencyFeePaymentService; private final IXzdBiddingAgencyFeePaymentService xzdBiddingAgencyFeePaymentService;

View File

@ -32,7 +32,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/postAnalysis/postBidAnalysis") @RequestMapping("/xzd/postAnalysis/postBidAnalysis")
public class XzdPostBidAnalysisController extends BaseController { public class XzdPostBidAnalysisController extends BaseController {
private final IXzdPostBidAnalysisService xzdPostBidAnalysisService; private final IXzdPostBidAnalysisService xzdPostBidAnalysisService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/comprehensive/csContractChange") @RequestMapping("/xzd/comprehensive/csContractChange")
public class XzdCsContractChangeController extends BaseController { public class XzdCsContractChangeController extends BaseController {
private final IXzdCsContractChangeService xzdCsContractChangeService; private final IXzdCsContractChangeService xzdCsContractChangeService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/comprehensive/csContractInformation") @RequestMapping("/xzd/comprehensive/csContractInformation")
public class XzdCsContractInformationController extends BaseController { public class XzdCsContractInformationController extends BaseController {
private final IXzdCsContractInformationService xzdCsContractInformationService; private final IXzdCsContractInformationService xzdCsContractInformationService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/comprehensive/csContractSuspend") @RequestMapping("/xzd/comprehensive/csContractSuspend")
public class XzdCsContractSuspendController extends BaseController { public class XzdCsContractSuspendController extends BaseController {
private final IXzdCsContractSuspendService xzdCsContractSuspendService; private final IXzdCsContractSuspendService xzdCsContractSuspendService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/contractTermination/purchaseContractSuspend") @RequestMapping("/xzd/contractTermination/purchaseContractSuspend")
public class XzdPurchaseContractSuspendController extends BaseController { public class XzdPurchaseContractSuspendController extends BaseController {
private final IXzdPurchaseContractSuspendService xzdPurchaseContractSuspendService; private final IXzdPurchaseContractSuspendService xzdPurchaseContractSuspendService;

View File

@ -100,6 +100,7 @@ public class XzdPurchaseContractSuspendVo implements Serializable {
* 乙方单位名称 * 乙方单位名称
*/ */
@ExcelProperty(value = "乙方单位名称") @ExcelProperty(value = "乙方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "artyBUnit")
private String artyBUnitName; private String artyBUnitName;
/** /**
@ -112,6 +113,7 @@ public class XzdPurchaseContractSuspendVo implements Serializable {
* 甲方单位名称 * 甲方单位名称
*/ */
@ExcelProperty(value = "甲方单位名称") @ExcelProperty(value = "甲方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyAUnit")
private String partyAUnitName; private String partyAUnitName;

View File

@ -83,27 +83,6 @@ public class XzdPurchaseContractSuspendServiceImpl extends ServiceImpl<XzdPurcha
private void setValue(List<XzdPurchaseContractSuspendVo> res) { private void setValue(List<XzdPurchaseContractSuspendVo> res) {
for (XzdPurchaseContractSuspendVo item : res) { for (XzdPurchaseContractSuspendVo item : res) {
// //项目名称
// if (item.getProject() != null){
// String projectName = xzdProjectService.queryNameById(item.getProject());
// if (projectName != null){
// item.setProjectName(projectName);
// }
// }
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(item.getPartyAUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
item.setPartyAUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
//乙方单位(供应商信息列表)
if (item.getArtyBUnit() != null){
String unitName = xzdSupplierInfoService.queryNameById(item.getArtyBUnit());
if (unitName != null){
item.setArtyBUnitName(unitName);
}
}
// 采购合同信息编码 // 采购合同信息编码
if (item.getContractInformationId() != null){ if (item.getContractInformationId() != null){
XzdPurchaseContractInformationVo queryById = xzdPurchaseContractInformationService.queryById(item.getContractInformationId()); XzdPurchaseContractInformationVo queryById = xzdPurchaseContractInformationService.queryById(item.getContractInformationId());

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/hetongbiangeng/purchaseContractAlteration") @RequestMapping("/xzd/hetongbiangeng/purchaseContractAlteration")
public class XzdPurchaseContractAlterationController extends BaseController { public class XzdPurchaseContractAlterationController extends BaseController {
private final IXzdPurchaseContractAlterationService xzdPurchaseContractAlterationService; private final IXzdPurchaseContractAlterationService xzdPurchaseContractAlterationService;

View File

@ -132,6 +132,7 @@ public class XzdPurchaseContractAlterationVo implements Serializable {
* 甲方单位 * 甲方单位
*/ */
@ExcelProperty(value = "甲方单位") @ExcelProperty(value = "甲方单位")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyAUnit")
private String partyAUnitName; private String partyAUnitName;
@ -151,6 +152,7 @@ public class XzdPurchaseContractAlterationVo implements Serializable {
* 乙方单位 * 乙方单位
*/ */
@ExcelProperty(value = "乙方单位") @ExcelProperty(value = "乙方单位")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "artyBUnit")
private String artyBUnitName; private String artyBUnitName;
/** /**

View File

@ -97,20 +97,7 @@ public class XzdPurchaseContractAlterationServiceImpl extends ServiceImpl<XzdPur
for (XzdPurchaseContractAlterationVo item : infos) { for (XzdPurchaseContractAlterationVo item : infos) {
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(item.getPartyAUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
item.setPartyAUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
//乙方单位(供应商信息列表)
if (item.getArtyBUnit() != null){
String unitName = xzdSupplierInfoService.queryNameById(item.getArtyBUnit());
if (unitName != null){
item.setArtyBUnitName(unitName);
}
}
// 合同编码 // 合同编码
if (item.getContractInformationId() != null){ if (item.getContractInformationId() != null){
XzdPurchaseContractInformationVo vo = iXzdPurchaseContractInformationService.queryById(item.getContractInformationId()); XzdPurchaseContractInformationVo vo = iXzdPurchaseContractInformationService.queryById(item.getContractInformationId());

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/fenbaohetongbiangg/subcontractChange") @RequestMapping("/xzd/fenbaohetongbiangg/subcontractChange")
public class XzdSubcontractChangeController extends BaseController { public class XzdSubcontractChangeController extends BaseController {
private final IXzdSubcontractChangeService xzdSubcontractChangeService; private final IXzdSubcontractChangeService xzdSubcontractChangeService;

View File

@ -169,6 +169,7 @@ public class XzdSubcontractChangeServiceImpl extends ServiceImpl<XzdSubcontractC
lqw.orderByDesc(XzdSubcontractChange::getId); lqw.orderByDesc(XzdSubcontractChange::getId);
lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), XzdSubcontractChange::getDocumentCode, bo.getDocumentCode()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), XzdSubcontractChange::getDocumentCode, bo.getDocumentCode());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdSubcontractChange::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdSubcontractChange::getTitle, bo.getTitle());
lqw.eq(StringUtils.isNotBlank(bo.getProjectName()), XzdSubcontractChange::getProjectName, bo.getProjectName());
lqw.eq(bo.getDocumentDate() != null, XzdSubcontractChange::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdSubcontractChange::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, XzdSubcontractChange::getDeptId, bo.getDeptId()); lqw.eq(bo.getDeptId() != null, XzdSubcontractChange::getDeptId, bo.getDeptId());
lqw.ge(bo.getStartTime() != null, XzdSubcontractChange::getDocumentDate, bo.getStartTime()); lqw.ge(bo.getStartTime() != null, XzdSubcontractChange::getDocumentDate, bo.getStartTime());

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/fenbaohetongxinxi/subcontract") @RequestMapping("/xzd/fenbaohetongxinxi/subcontract")
public class XzdSubcontractController extends BaseController { public class XzdSubcontractController extends BaseController {
private final IXzdSubcontractService xzdSubcontractService; private final IXzdSubcontractService xzdSubcontractService;

View File

@ -86,6 +86,7 @@ public class XzdSubcontractVo implements Serializable {
* 项目名称 * 项目名称
*/ */
@ExcelProperty(value = "项目名称") @ExcelProperty(value = "项目名称")
@Translation(type = TransConstant.PROJECT_ID_TO_NAME, mapper = "project")
private String projectName; private String projectName;
/** /**
@ -129,6 +130,7 @@ public class XzdSubcontractVo implements Serializable {
* 甲方单位名称 * 甲方单位名称
*/ */
@ExcelProperty(value = "甲方单位名称") @ExcelProperty(value = "甲方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyAUnit")
private String partyAUnitName; private String partyAUnitName;
@ -142,6 +144,7 @@ public class XzdSubcontractVo implements Serializable {
* 乙方单位名称 * 乙方单位名称
*/ */
@ExcelProperty(value = "乙方单位名称") @ExcelProperty(value = "乙方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyBUnit")
private String partyBUnitName; private String partyBUnitName;
/** /**
@ -161,6 +164,7 @@ public class XzdSubcontractVo implements Serializable {
* 管理组织名称 * 管理组织名称
*/ */
@ExcelProperty(value = "管理组织名称") @ExcelProperty(value = "管理组织名称")
@Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "managementOrganization")
private String managementOrganizationName; private String managementOrganizationName;
/** /**
@ -186,6 +190,7 @@ public class XzdSubcontractVo implements Serializable {
* 开票单位名称 * 开票单位名称
*/ */
@ExcelProperty(value = "开票单位名称", converter = ExcelDictConvert.class) @ExcelProperty(value = "开票单位名称", converter = ExcelDictConvert.class)
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "invoicingUnit")
private String invoicingUnitName; private String invoicingUnitName;
/** /**
@ -198,6 +203,7 @@ public class XzdSubcontractVo implements Serializable {
* 收票单位名称 * 收票单位名称
*/ */
@ExcelProperty(value = "收票单位名称", converter = ExcelDictConvert.class) @ExcelProperty(value = "收票单位名称", converter = ExcelDictConvert.class)
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "ticketReceivingUnit")
private String ticketReceivingUnitName; private String ticketReceivingUnitName;
/** /**

View File

@ -118,44 +118,6 @@ public class XzdSubcontractServiceImpl extends ServiceImpl<XzdSubcontractMapper,
private void setValue(List<XzdSubcontractVo> infos) { private void setValue(List<XzdSubcontractVo> infos) {
for (XzdSubcontractVo item : infos) { for (XzdSubcontractVo item : infos) {
//项目名称
if (item.getProject() != null){
String projectName = xzdProjectService.queryNameById(item.getProject());
if (projectName != null){
item.setProjectName(projectName);
}
}
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(item.getPartyAUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
item.setPartyAUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
//乙方单位(供应商信息列表)
if (item.getPartyBUnit() != null){
String unitName = xzdSupplierInfoService.queryNameById(item.getPartyBUnit());
if (unitName != null){
item.setPartyBUnitName(unitName);
}
}
//管理组织(供应商)
String unitName = xzdSupplierInfoService.queryNameById(item.getPartyBUnit());
if (unitName != null){
item.setManagementOrganizationName(unitName);
}
//开票单位名称
R<QuerCorrespondentDto> byidtemp = iXzdCorrespondentList.getCustomerByid((item.getInvoicingUnit()));
if (byidtemp!=null){
if (byidtemp.getData().getXzdCustomerinformation() != null){
item.setInvoicingUnitName(byidtemp.getData().getXzdCustomerinformation().getUnitName());
}
}
//收票单位名称(供应商名称)
String unitName2 = xzdSupplierInfoService.queryNameById(item.getTicketReceivingUnit());
if (unitName2 != null){
item.setTicketReceivingUnitName(unitName2);
}
// //合同文本-预收款项 // //合同文本-预收款项
LambdaQueryWrapper<XzdContractAdvanceInfo> lambdaQueryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<XzdContractAdvanceInfo> lambdaQueryWrapper = new LambdaQueryWrapper<>();

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/fenbaohetongzhongzhi/subcontractTermination") @RequestMapping("/xzd/fenbaohetongzhongzhi/subcontractTermination")
public class XzdSubcontractTerminationController extends BaseController { public class XzdSubcontractTerminationController extends BaseController {
private final IXzdSubcontractTerminationService xzdSubcontractTerminationService; private final IXzdSubcontractTerminationService xzdSubcontractTerminationService;

View File

@ -32,7 +32,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/contractManagement/purchaseContractInformation") @RequestMapping("/xzd/contractManagement/purchaseContractInformation")
public class XzdPurchaseContractInformationController extends BaseController { public class XzdPurchaseContractInformationController extends BaseController {
private final IXzdPurchaseContractInformationService xzdPurchaseContractInformationService; private final IXzdPurchaseContractInformationService xzdPurchaseContractInformationService;

View File

@ -88,6 +88,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 项目名称 * 项目名称
*/ */
@ExcelProperty(value = "项目名称") @ExcelProperty(value = "项目名称")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "project")
private String projectName; private String projectName;
@ -119,6 +120,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 甲方单位名称 * 甲方单位名称
*/ */
@ExcelProperty(value = "甲方单位名称") @ExcelProperty(value = "甲方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyAUnit")
private String partyAUnitName; private String partyAUnitName;
/** /**
@ -169,6 +171,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 开票单位名称 * 开票单位名称
*/ */
@ExcelProperty(value = "开票单位名称", converter = ExcelDictConvert.class) @ExcelProperty(value = "开票单位名称", converter = ExcelDictConvert.class)
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "invoiceIssuingUnit")
private String invoiceIssuingUnitName; private String invoiceIssuingUnitName;
/** /**
@ -182,6 +185,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 收票单位名称 * 收票单位名称
*/ */
@ExcelProperty(value = "收票单位名称", converter = ExcelDictConvert.class) @ExcelProperty(value = "收票单位名称", converter = ExcelDictConvert.class)
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "invoiceReceivingUnit")
private String invoiceReceivingUnitName; private String invoiceReceivingUnitName;
/** /**
@ -217,6 +221,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 乙方单位名称 * 乙方单位名称
*/ */
@ExcelProperty(value = "乙方单位名称") @ExcelProperty(value = "乙方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyBUnit")
private String partyBUnitName; private String partyBUnitName;
/** /**
@ -242,6 +247,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 其他收入合同项目名称 * 其他收入合同项目名称
*/ */
@ExcelProperty(value = "其他收入合同项目名称") @ExcelProperty(value = "其他收入合同项目名称")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "otherIncomeContractProject")
private String otherIncomeContractProjectName; private String otherIncomeContractProjectName;
/** /**
@ -272,6 +278,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 签约组织名称 * 签约组织名称
*/ */
@ExcelProperty(value = "签约组织名称") @ExcelProperty(value = "签约组织名称")
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "signingOrganization")
private String signingOrganizationName; private String signingOrganizationName;
/** /**
@ -296,6 +303,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 丙方单位名称 * 丙方单位名称
*/ */
@ExcelProperty(value = "丙方单位名称") @ExcelProperty(value = "丙方单位名称")
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "partyCUnit")
private String partyCUnitName; private String partyCUnitName;
@ -322,6 +330,7 @@ public class XzdPurchaseContractInformationVo implements Serializable {
* 关联主合同 * 关联主合同
*/ */
@ExcelProperty(value = "关联主合同") @ExcelProperty(value = "关联主合同")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "associatedMainContract")
private String associatedMainContractName; private String associatedMainContractName;
/** /**

View File

@ -406,74 +406,6 @@ public class XzdPurchaseContractInformationServiceImpl extends ServiceImpl<XzdPu
public void setValue(List<XzdPurchaseContractInformationVo> infos){ public void setValue(List<XzdPurchaseContractInformationVo> infos){
for (XzdPurchaseContractInformationVo item : infos) { for (XzdPurchaseContractInformationVo item : infos) {
//项目名称
if (item.getProject() != null){
String projectName = xzdProjectService.queryNameById(item.getProject());
if (projectName != null){
item.setProjectName(projectName);
}
}
//其他项目名称
if (item.getProject() != null){
if (StringUtils.isNotEmpty(item.getAssociatedMainContract())){
String projectName = xzdProjectService.queryNameById(Long.parseLong(item.getAssociatedMainContract()));
if (projectName != null){
item.setAssociatedMainContractName(projectName);
}
}
}
//其他收入合同项目名称
if (item.getOtherIncomeContractProject() != null){
String projectName = xzdProjectService.queryNameById(item.getOtherIncomeContractProject());
if (projectName != null){
item.setOtherIncomeContractProjectName(projectName);
}
}
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(item.getPartyAUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
item.setPartyAUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
//乙方单位(供应商信息列表)
if (item.getPartyBUnit() != null){
String unitName = xzdSupplierInfoService.queryNameById(item.getPartyBUnit());
if (unitName != null){
item.setPartyBUnitName(unitName);
}
}
// //管理组织
// String unitName = xzdSupplierInfoService.queryNameById(item.getManagementOrganization());
//
// if (unitName != null){
// item.setManagementOrganizationName(unitName);
// }
//开票单位名称(供应商名称)
String unitName1 = xzdSupplierInfoService.queryNameById(item.getInvoiceIssuingUnit());
if (unitName1 != null){
item.setInvoiceIssuingUnitName(unitName1);
}
//收票单位名称
String unitNametemp = xzdSupplierInfoService.queryNameById(item.getInvoiceReceivingUnit());
if (unitNametemp!=null){
item.setInvoiceReceivingUnitName(unitNametemp);
}
//签约组织(供应商)
String unitName2 = xzdSupplierInfoService.queryNameById(item.getInvoiceIssuingUnit());
if (unitName2!= null){
item.setSigningOrganizationName(unitName2);
}
//丙方单位(供应商)
String unitName3 = xzdSupplierInfoService.queryNameById(item.getInvoiceIssuingUnit());
if (unitName3!= null){
item.setPartyCUnitName(unitName3);
}
//合同文本-预收款项 //合同文本-预收款项
LambdaQueryWrapper<XzdContractAdvanceInfo> lambdaQueryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<XzdContractAdvanceInfo> lambdaQueryWrapper = new LambdaQueryWrapper<>();
lambdaQueryWrapper.eq(XzdContractAdvanceInfo::getContractDetailsId, item.getId()); lambdaQueryWrapper.eq(XzdContractAdvanceInfo::getContractDetailsId, item.getId());

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/costBudget/cbysJdcbfj") @RequestMapping("/xzd/costBudget/cbysJdcbfj")
public class XzdCbysJdcbfjController extends BaseController { public class XzdCbysJdcbfjController extends BaseController {
private final IXzdCbysJdcbfjService xzdCbysJdcbfjService; private final IXzdCbysJdcbfjService xzdCbysJdcbfjService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/costBudget/cbysWgcbtb") @RequestMapping("/xzd/costBudget/cbysWgcbtb")
public class XzdCbysWgcbtbController extends BaseController { public class XzdCbysWgcbtbController extends BaseController {
private final IXzdCbysWgcbtbService xzdCbysWgcbtbService; private final IXzdCbysWgcbtbService xzdCbysWgcbtbService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/costBudget/cbysZjhcbAlteration") @RequestMapping("/xzd/costBudget/cbysZjhcbAlteration")
public class XzdCbysZjhcbAlterationController extends BaseController { public class XzdCbysZjhcbAlterationController extends BaseController {
private final IXzdCbysZjhcbAlterationService xzdCbysZjhcbAlterationService; private final IXzdCbysZjhcbAlterationService xzdCbysZjhcbAlterationService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/costBudget/cbysZjhcb") @RequestMapping("/xzd/costBudget/cbysZjhcb")
public class XzdCbysZjhcbController extends BaseController { public class XzdCbysZjhcbController extends BaseController {
private final IXzdCbysZjhcbService xzdCbysZjhcbService; private final IXzdCbysZjhcbService xzdCbysZjhcbService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/backletter/guaranteeChangeInfo") @RequestMapping("/xzd/backletter/guaranteeChangeInfo")
public class XzdGuaranteeChangeInfoController extends BaseController { public class XzdGuaranteeChangeInfoController extends BaseController {
private final IXzdGuaranteeChangeInfoService xzdGuaranteeChangeInfoService; private final IXzdGuaranteeChangeInfoService xzdGuaranteeChangeInfoService;

View File

@ -32,7 +32,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/deposit/guaranteeInfo") @RequestMapping("/xzd/deposit/guaranteeInfo")
public class XzdGuaranteeInfoController extends BaseController { public class XzdGuaranteeInfoController extends BaseController {
private final IXzdGuaranteeInfoService xzdGuaranteeInfoService; private final IXzdGuaranteeInfoService xzdGuaranteeInfoService;

View File

@ -11,6 +11,8 @@ import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert; import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper; import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data; import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.xzd.deposit.contractBackletter.domain.XzdGuaranteeInfo; import org.dromara.xzd.deposit.contractBackletter.domain.XzdGuaranteeInfo;
import java.io.Serial; import java.io.Serial;
@ -109,6 +111,7 @@ public class XzdGuaranteeInfoVo implements Serializable {
* 申请机构名称 * 申请机构名称
*/ */
@ExcelProperty(value = "申请机构名称") @ExcelProperty(value = "申请机构名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "applicationOrganization")
private String applicationOrganizationName; private String applicationOrganizationName;
/** /**
@ -128,6 +131,7 @@ public class XzdGuaranteeInfoVo implements Serializable {
* 甲方单位名称 * 甲方单位名称
*/ */
@ExcelProperty(value = "甲方单位名称") @ExcelProperty(value = "甲方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "applicationOrganization")
private String partyAUnitName; private String partyAUnitName;
/** /**
@ -140,6 +144,7 @@ public class XzdGuaranteeInfoVo implements Serializable {
* 乙方单位名称 * 乙方单位名称
*/ */
@ExcelProperty(value = "乙方单位名称") @ExcelProperty(value = "乙方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "applicationOrganization")
private String partyBUnitName; private String partyBUnitName;
/** /**

View File

@ -72,7 +72,7 @@ public class XzdGuaranteeInfoServiceImpl extends ServiceImpl<XzdGuaranteeInfoMap
XzdGuaranteeInfoVo xzdGuaranteeInfoVo = baseMapper.selectVoById(id); XzdGuaranteeInfoVo xzdGuaranteeInfoVo = baseMapper.selectVoById(id);
List<XzdGuaranteeInfoVo> xzdGuaranteeInfoVo1 = List.of(xzdGuaranteeInfoVo); List<XzdGuaranteeInfoVo> xzdGuaranteeInfoVo1 = List.of(xzdGuaranteeInfoVo);
// 装填数据 // 装填数据
setValue(xzdGuaranteeInfoVo1); // setValue(xzdGuaranteeInfoVo1);
return xzdGuaranteeInfoVo1.getFirst(); return xzdGuaranteeInfoVo1.getFirst();
@ -113,7 +113,7 @@ public class XzdGuaranteeInfoServiceImpl extends ServiceImpl<XzdGuaranteeInfoMap
LambdaQueryWrapper<XzdGuaranteeInfo> lqw = buildQueryWrapper(bo); LambdaQueryWrapper<XzdGuaranteeInfo> lqw = buildQueryWrapper(bo);
Page<XzdGuaranteeInfoVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw); Page<XzdGuaranteeInfoVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
setValue(result.getRecords()); // setValue(result.getRecords());
return TableDataInfo.build(result); return TableDataInfo.build(result);
} }

View File

@ -32,7 +32,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/earnestMoney/depositApplication") @RequestMapping("/xzd/earnestMoney/depositApplication")
public class XzdDepositApplicationController extends BaseController { public class XzdDepositApplicationController extends BaseController {
private final IXzdDepositApplicationService xzdDepositApplicationService; private final IXzdDepositApplicationService xzdDepositApplicationService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/refundDeposit/fbhtzbjth") @RequestMapping("/xzd/refundDeposit/fbhtzbjth")
public class XzdFbhtzbjthController extends BaseController { public class XzdFbhtzbjthController extends BaseController {
private final IXzdFbhtzbjthService xzdFbhtzbjthService; private final IXzdFbhtzbjthService xzdFbhtzbjthService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/zengzhishui/invoice") @RequestMapping("/xzd/zengzhishui/invoice")
public class AppreciationInvoiceController extends BaseController { public class AppreciationInvoiceController extends BaseController {
private final IAppreciationInvoiceService appreciationInvoiceService; private final IAppreciationInvoiceService appreciationInvoiceService;

View File

@ -60,6 +60,7 @@ public class AppreciationInvoiceVo implements Serializable {
* 项目名称 * 项目名称
*/ */
@ExcelProperty(value = "项目名称") @ExcelProperty(value = "项目名称")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "project")
private String projectName; private String projectName;
/** /**
@ -213,6 +214,7 @@ public class AppreciationInvoiceVo implements Serializable {
* 购方名称 * 购方名称
*/ */
@ExcelProperty(value = "购方名称") @ExcelProperty(value = "购方名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "buyerName")
private String buyerNameS; private String buyerNameS;

View File

@ -104,13 +104,6 @@ public class AppreciationInvoiceServiceImpl extends ServiceImpl<AppreciationInvo
} }
} }
//项目名称
if (item.getProject() != null){
String projectName = xzdProjectService.queryNameById(item.getProject());
if (projectName != null){
item.setProjectName(projectName);
}
}
// 合同 // 合同
XzdContractDetails contractDetailsServiceById = xzdContractDetailsService.getById(item.getContractNo()); XzdContractDetails contractDetailsServiceById = xzdContractDetailsService.getById(item.getContractNo());
if(contractDetailsServiceById != null){ if(contractDetailsServiceById != null){
@ -121,13 +114,6 @@ public class AppreciationInvoiceServiceImpl extends ServiceImpl<AppreciationInvo
if (taxInfoVo != null){ if (taxInfoVo != null){
item.setTaxItemName(taxInfoVo.getTaxItem()); item.setTaxItemName(taxInfoVo.getTaxItem());
} }
//购方名称(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(item.getBuyerName());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
item.setBuyerNameS(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
} }

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/paymentsReceipts/sfkCaigouFk") @RequestMapping("/xzd/paymentsReceipts/sfkCaigouFk")
public class XzdSfkCaigouFkController extends BaseController { public class XzdSfkCaigouFkController extends BaseController {
private final IXzdSfkCaigouFkService xzdSfkCaigouFkService; private final IXzdSfkCaigouFkService xzdSfkCaigouFkService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/paymentsReceipts/sfkZonhefuwuFk") @RequestMapping("/xzd/paymentsReceipts/sfkZonhefuwuFk")
public class XzdSfkZonhefuwuFkController extends BaseController { public class XzdSfkZonhefuwuFkController extends BaseController {
private final IXzdSfkZonhefuwuFkService xzdSfkZonhefuwuFkService; private final IXzdSfkZonhefuwuFkService xzdSfkZonhefuwuFkService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/settlement/jsCgJindu") @RequestMapping("/xzd/settlement/jsCgJindu")
public class XzdJsCgJinduController extends BaseController { public class XzdJsCgJinduController extends BaseController {
private final IXzdJsCgJinduService xzdJsCgJinduService; private final IXzdJsCgJinduService xzdJsCgJinduService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/settlement/jsCgJungon") @RequestMapping("/xzd/settlement/jsCgJungon")
public class XzdJsCgJungonController extends BaseController { public class XzdJsCgJungonController extends BaseController {
private final IXzdJsCgJungonService xzdJsCgJungonService; private final IXzdJsCgJungonService xzdJsCgJungonService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/settlement/jsCgJungonEdit") @RequestMapping("/xzd/settlement/jsCgJungonEdit")
public class XzdJsCgJungonEditController extends BaseController { public class XzdJsCgJungonEditController extends BaseController {
private final IXzdJsCgJungonEditService xzdJsCgJungonEditService; private final IXzdJsCgJungonEditService xzdJsCgJungonEditService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/settlement/jsZhfwJindu") @RequestMapping("/xzd/settlement/jsZhfwJindu")
public class XzdJsZhfwJinduController extends BaseController { public class XzdJsZhfwJinduController extends BaseController {
private final IXzdJsZhfwJinduService xzdJsZhfwJinduService; private final IXzdJsZhfwJinduService xzdJsZhfwJinduService;

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/fenbaohetongjingdu/ofSubcontractingContract") @RequestMapping("/xzd/fenbaohetongjingdu/ofSubcontractingContract")
public class SettlementOfSubcontractingContractController extends BaseController { public class SettlementOfSubcontractingContractController extends BaseController {
private final ISettlementOfSubcontractingContractService settlementOfSubcontractingContractService; private final ISettlementOfSubcontractingContractService settlementOfSubcontractingContractService;

View File

@ -2,6 +2,8 @@ package org.dromara.xzd.settlement.fenbaohetongjingdu.domain.vo;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.xzd.settlement.domain.bo.XzdAlterationInventoryBo; import org.dromara.xzd.settlement.domain.bo.XzdAlterationInventoryBo;
import org.dromara.xzd.settlement.domain.bo.XzdContractInventoryBo; import org.dromara.xzd.settlement.domain.bo.XzdContractInventoryBo;
import org.dromara.xzd.settlement.domain.bo.XzdJsDeductionItemsBo; import org.dromara.xzd.settlement.domain.bo.XzdJsDeductionItemsBo;
@ -104,6 +106,7 @@ public class SettlementOfSubcontractingContractVo implements Serializable {
* 项目名称 * 项目名称
*/ */
@ExcelProperty(value = "项目名称") @ExcelProperty(value = "项目名称")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "project")
private String projectName; private String projectName;
/** /**
@ -128,6 +131,7 @@ public class SettlementOfSubcontractingContractVo implements Serializable {
* 结算单位 客户信息名称 * 结算单位 客户信息名称
*/ */
@ExcelProperty(value = "结算单位 客户信息名称") @ExcelProperty(value = "结算单位 客户信息名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "settlementUnit")
private String settlementUnitName; private String settlementUnitName;
/** /**

View File

@ -119,13 +119,7 @@ public class SettlementOfSubcontractingContractServiceImpl extends ServiceImpl<S
private void setValue(List<SettlementOfSubcontractingContractVo> records) { private void setValue(List<SettlementOfSubcontractingContractVo> records) {
for (SettlementOfSubcontractingContractVo item : records) { for (SettlementOfSubcontractingContractVo item : records) {
//项目名称
if (item.getProject() != null){
String projectName = xzdProjectService.queryNameById(item.getProject());
if (projectName != null){
item.setProjectName(projectName);
}
}
// 分包合同编码 // 分包合同编码
XzdSubcontractVo xzdSubcontractVo = iXzdSubcontractService.queryById(item.getContractCode()); XzdSubcontractVo xzdSubcontractVo = iXzdSubcontractService.queryById(item.getContractCode());
if (xzdSubcontractVo != null){ if (xzdSubcontractVo != null){
@ -133,13 +127,6 @@ public class SettlementOfSubcontractingContractServiceImpl extends ServiceImpl<S
} }
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(item.getSettlementUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
item.setSettlementUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
// 合同内清单 // 合同内清单
List<XzdContractInventory> xzdContractInventories = iXzdContractInventoryService.getBaseMapper().selectList(new LambdaQueryWrapper<XzdContractInventory>().eq(XzdContractInventory::getPrimaryMeterId, item.getId()).eq(XzdContractInventory::getType, ZxdEnum.HETONGLEIXINGNEI.getTypeValue())); List<XzdContractInventory> xzdContractInventories = iXzdContractInventoryService.getBaseMapper().selectList(new LambdaQueryWrapper<XzdContractInventory>().eq(XzdContractInventory::getPrimaryMeterId, item.getId()).eq(XzdContractInventory::getType, ZxdEnum.HETONGLEIXINGNEI.getTypeValue()));
if (xzdContractInventories != null && xzdContractInventories.size() > 0) { if (xzdContractInventories != null && xzdContractInventories.size() > 0) {

View File

@ -32,7 +32,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/fenbaohetongjungong/ofSubcontractingCompletion") @RequestMapping("/xzd/fenbaohetongjungong/ofSubcontractingCompletion")
public class SettlementOfSubcontractingCompletionController extends BaseController { public class SettlementOfSubcontractingCompletionController extends BaseController {
private final ISettlementOfSubcontractingCompletionService settlementOfSubcontractingCompletionService; private final ISettlementOfSubcontractingCompletionService settlementOfSubcontractingCompletionService;

View File

@ -2,6 +2,8 @@ package org.dromara.xzd.settlement.fenbaohetongjungong.domain.vo;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.xzd.domain.vo.XzdJsqdTzVo; import org.dromara.xzd.domain.vo.XzdJsqdTzVo;
import org.dromara.xzd.settlement.domain.vo.XzdJsDeductionItemsVo; import org.dromara.xzd.settlement.domain.vo.XzdJsDeductionItemsVo;
import org.dromara.xzd.settlement.fenbaohetongjungong.domain.SettlementOfSubcontractingCompletion; import org.dromara.xzd.settlement.fenbaohetongjungong.domain.SettlementOfSubcontractingCompletion;
@ -99,6 +101,7 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
* 工程项目名称 * 工程项目名称
*/ */
@ExcelProperty(value = "工程项目名称") @ExcelProperty(value = "工程项目名称")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "engineeringProject")
private String engineeringProjectName; private String engineeringProjectName;
/** /**
@ -118,6 +121,7 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
* 甲方单位名称 * 甲方单位名称
*/ */
@ExcelProperty(value = "甲方单位名称") @ExcelProperty(value = "甲方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyAUnit")
private String partyAUnitName; private String partyAUnitName;
@ -131,6 +135,7 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
* 乙方单位名称 * 乙方单位名称
*/ */
@ExcelProperty(value = "乙方单位名称") @ExcelProperty(value = "乙方单位名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyBUnit")
private String partyBUnitName; private String partyBUnitName;
/** /**
@ -210,6 +215,7 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
* 业主单位名称 客户 * 业主单位名称 客户
*/ */
@ExcelProperty(value = "业主单位名称 客户") @ExcelProperty(value = "业主单位名称 客户")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "ownerUnit")
private String ownerUnitName; private String ownerUnitName;
/** /**
@ -222,6 +228,7 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
* 监理单位名称 客户 * 监理单位名称 客户
*/ */
@ExcelProperty(value = "监理单位名称 客户") @ExcelProperty(value = "监理单位名称 客户")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "supervisionUnit")
private String supervisionUnitName; private String supervisionUnitName;
/** /**
@ -234,6 +241,7 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
* 施工单位名称 客户 * 施工单位名称 客户
*/ */
@ExcelProperty(value = "施工单位名称 客户") @ExcelProperty(value = "施工单位名称 客户")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "constructionUnit")
private String constructionUnitName; private String constructionUnitName;
/** /**
@ -246,6 +254,7 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
* 审核单位名称 客户 * 审核单位名称 客户
*/ */
@ExcelProperty(value = "审核单位名称 客户") @ExcelProperty(value = "审核单位名称 客户")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "auditUnit")
private String auditUnitName; private String auditUnitName;

View File

@ -134,32 +134,11 @@ public class SettlementOfSubcontractingCompletionServiceImpl extends ServiceImpl
} }
} }
//项目名称
if (item.getEngineeringProject() != null){
String projectName = xzdProjectService.queryNameById(item.getEngineeringProject());
if (projectName != null){
item.setEngineeringProjectName(projectName);
}
}
// 分包合同编码 // 分包合同编码
XzdSubcontractVo xzdSubcontractVo = iXzdSubcontractService.queryById(item.getContractCode()); XzdSubcontractVo xzdSubcontractVo = iXzdSubcontractService.queryById(item.getContractCode());
if (xzdSubcontractVo != null){ if (xzdSubcontractVo != null){
item.setContractCodeName(xzdSubcontractVo.getContractCode()); item.setContractCodeName(xzdSubcontractVo.getContractCode());
} }
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(item.getPartyAUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
item.setPartyAUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
//乙方单位(供应商信息列表)
if (item.getPartyBUnit() != null){
String unitName = xzdSupplierInfoService.queryNameById(item.getPartyBUnit());
if (unitName != null){
item.setPartyBUnitName(unitName);
}
}
// 支付条款 // 支付条款
if (item.getPaymentTerms() != null){ if (item.getPaymentTerms() != null){
XzdSettlementRules byId = xzdSettlementRulesService.getById(item.getPaymentTerms()); XzdSettlementRules byId = xzdSettlementRulesService.getById(item.getPaymentTerms());
@ -167,38 +146,6 @@ public class SettlementOfSubcontractingCompletionServiceImpl extends ServiceImpl
item.setPaymentTermsName(byId.getType()); item.setPaymentTermsName(byId.getType());
} }
} }
// 业主单位(客户信息列表)
R<QuerCorrespondentDto> temp = iXzdCorrespondentList.getCustomerByid(item.getOwnerUnit());
if (temp!=null){
if (temp.getData().getXzdCustomerinformation() != null){
item.setOwnerUnitName(temp.getData().getXzdCustomerinformation().getUnitName());
}
}
// 监理单位(客户信息列表)
R<QuerCorrespondentDto> supervisionUnit = iXzdCorrespondentList.getCustomerByid(item.getSupervisionUnit());
if (supervisionUnit!=null){
if (supervisionUnit.getData().getXzdCustomerinformation() != null){
item.setSupervisionUnitName(supervisionUnit.getData().getXzdCustomerinformation().getUnitName());
}
}
// 施工单位(客户信息列表)
R<QuerCorrespondentDto> constructionUnit = iXzdCorrespondentList.getCustomerByid(item.getConstructionUnit());
if (constructionUnit!=null){
if (constructionUnit.getData().getXzdCustomerinformation() != null){
item.setConstructionUnitName(constructionUnit.getData().getXzdCustomerinformation().getUnitName());
}
}
// 施工单位(客户信息列表)
R<QuerCorrespondentDto> auditUnit = iXzdCorrespondentList.getCustomerByid(item.getAuditUnit());
if (auditUnit!=null){
if (auditUnit.getData().getXzdCustomerinformation() != null){
item.setAuditUnitName(auditUnit.getData().getXzdCustomerinformation().getUnitName());
}
}
} }
} }

View File

@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/fenbaohetongtiaozheng/ofSubcontractingAdjustment") @RequestMapping("/xzd/fenbaohetongtiaozheng/ofSubcontractingAdjustment")
public class SettlementOfSubcontractingAdjustmentController extends BaseController { public class SettlementOfSubcontractingAdjustmentController extends BaseController {
private final ISettlementOfSubcontractingAdjustmentService settlementOfSubcontractingAdjustmentService; private final ISettlementOfSubcontractingAdjustmentService settlementOfSubcontractingAdjustmentService;

View File

@ -32,7 +32,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/yueduzijinbiangeng/revenuePlanAlteration") @RequestMapping("/xzd/yueduzijinbiangeng/revenuePlanAlteration")
public class FinancialRevenuePlanAlterationController extends BaseController { public class FinancialRevenuePlanAlterationController extends BaseController {
private final IFinancialRevenuePlanAlterationService financialRevenuePlanAlterationService; private final IFinancialRevenuePlanAlterationService financialRevenuePlanAlterationService;

View File

@ -65,6 +65,7 @@ public class FinancialRevenuePlanAlterationVo implements Serializable {
* 项目名称 * 项目名称
*/ */
@ExcelProperty(value = "项目") @ExcelProperty(value = "项目")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "project")
private String projectName; private String projectName;
private Long deptId; private Long deptId;

View File

@ -111,13 +111,6 @@ public class FinancialRevenuePlanAlterationServiceImpl extends ServiceImpl<Finan
private void savaValue(List<FinancialRevenuePlanAlterationVo> records, boolean type) { private void savaValue(List<FinancialRevenuePlanAlterationVo> records, boolean type) {
for (FinancialRevenuePlanAlterationVo item : records) { for (FinancialRevenuePlanAlterationVo item : records) {
//项目名称
if (item.getProject() != null){
String projectName = xzdProjectService.queryNameById(item.getProject());
if (projectName != null){
item.setProjectName(projectName);
}
}
HashMap<String, Object> hashMap = new HashMap<>(); HashMap<String, Object> hashMap = new HashMap<>();
hashMap.put("financial_revenue_id",item.getId()); hashMap.put("financial_revenue_id",item.getId());
// 收入 // 收入
@ -126,13 +119,6 @@ public class FinancialRevenuePlanAlterationServiceImpl extends ServiceImpl<Finan
List<DetailOfEarningsVo> convert = MapstructUtils.convert(detail, DetailOfEarningsVo.class); List<DetailOfEarningsVo> convert = MapstructUtils.convert(detail, DetailOfEarningsVo.class);
if (type){ if (type){
convert.forEach(temp ->{ convert.forEach(temp ->{
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(temp.getPartyAUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
temp.setPartyAUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
// cbs // cbs
Long cbs = temp.getCbs(); Long cbs = temp.getCbs();
if (cbs != null){ if (cbs != null){
@ -155,11 +141,6 @@ public class FinancialRevenuePlanAlterationServiceImpl extends ServiceImpl<Finan
List<StatementOfExpendituresVo> convert = MapstructUtils.convert(statementOfExpenditures, StatementOfExpendituresVo.class); List<StatementOfExpendituresVo> convert = MapstructUtils.convert(statementOfExpenditures, StatementOfExpendituresVo.class);
if (type){ if (type){
convert.forEach(temp ->{ convert.forEach(temp ->{
//供应商 supplier
String unitName = xzdSupplierInfoService.queryNameById(temp.getSupplier());
if (StringUtils.isNotBlank(unitName)){
temp.setSupplierName(unitName);
}
Long cbs = temp.getCbs(); Long cbs = temp.getCbs();
if (cbs != null){ if (cbs != null){
String name = iCbsTreeStructureService.queryById(cbs).getName(); String name = iCbsTreeStructureService.queryById(cbs).getName();

View File

@ -33,7 +33,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/yueduzijinjihua/revenueExpenditurePlan") @RequestMapping("/xzd/yueduzijinjihua/revenueExpenditurePlan")
public class FinancialRevenueExpenditurePlanController extends BaseController { public class FinancialRevenueExpenditurePlanController extends BaseController {
private final IFinancialRevenueExpenditurePlanService financialRevenueExpenditurePlanService; private final IFinancialRevenueExpenditurePlanService financialRevenueExpenditurePlanService;

View File

@ -1,6 +1,9 @@
package org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.vo; package org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.vo;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.DetailOfEarnings; import org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.DetailOfEarnings;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
@ -106,6 +109,7 @@ public class DetailOfEarningsVo implements Serializable {
* 甲方单位名称 客户 * 甲方单位名称 客户
*/ */
@ExcelProperty(value = "甲方单位名称 客户") @ExcelProperty(value = "甲方单位名称 客户")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "partyAUnit")
private String partyAUnitName; private String partyAUnitName;
/** /**

View File

@ -66,6 +66,7 @@ public class FinancialRevenueExpenditurePlanVo implements Serializable {
* 项目名称 * 项目名称
*/ */
@ExcelProperty(value = "项目名称") @ExcelProperty(value = "项目名称")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "project")
private String projectName; private String projectName;
/** /**

View File

@ -1,6 +1,9 @@
package org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.vo; package org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.vo;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.StatementOfExpenditures; import org.dromara.xzd.zijinjihua.yueduzijinjihua.domain.StatementOfExpenditures;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
@ -99,6 +102,7 @@ public class StatementOfExpendituresVo implements Serializable {
* 供应商名称 * 供应商名称
*/ */
@ExcelProperty(value = "供应商名称") @ExcelProperty(value = "供应商名称")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "supplier")
private String supplierName; private String supplierName;
/** /**

View File

@ -113,13 +113,6 @@ public class FinancialRevenueExpenditurePlanServiceImpl extends ServiceImpl<Fina
private void savaValue(List<FinancialRevenueExpenditurePlanVo> records,Boolean type) { private void savaValue(List<FinancialRevenueExpenditurePlanVo> records,Boolean type) {
for (FinancialRevenueExpenditurePlanVo item : records) { for (FinancialRevenueExpenditurePlanVo item : records) {
//项目名称
if (item.getProject() != null){
String projectName = xzdProjectService.queryNameById(item.getProject());
if (projectName != null){
item.setProjectName(projectName);
}
}
HashMap<String, Object> hashMap = new HashMap<>(); HashMap<String, Object> hashMap = new HashMap<>();
hashMap.put("financial_revenue_id",item.getId()); hashMap.put("financial_revenue_id",item.getId());
// 收入 // 收入
@ -128,13 +121,6 @@ public class FinancialRevenueExpenditurePlanServiceImpl extends ServiceImpl<Fina
List<DetailOfEarningsVo> convert = MapstructUtils.convert(detail, DetailOfEarningsVo.class); List<DetailOfEarningsVo> convert = MapstructUtils.convert(detail, DetailOfEarningsVo.class);
if (type){ if (type){
convert.forEach(temp ->{ convert.forEach(temp ->{
//甲方单位(客户信息列表)
R<QuerCorrespondentDto> byid = iXzdCorrespondentList.getCustomerByid(temp.getPartyAUnit());
if (byid!=null){
if (byid.getData().getXzdCustomerinformation() != null){
temp.setPartyAUnitName(byid.getData().getXzdCustomerinformation().getUnitName());
}
}
// cbs // cbs
Long cbs = temp.getCbs(); Long cbs = temp.getCbs();
if (cbs != null){ if (cbs != null){
@ -157,11 +143,6 @@ public class FinancialRevenueExpenditurePlanServiceImpl extends ServiceImpl<Fina
List<StatementOfExpendituresVo> convert = MapstructUtils.convert(statementOfExpenditures, StatementOfExpendituresVo.class); List<StatementOfExpendituresVo> convert = MapstructUtils.convert(statementOfExpenditures, StatementOfExpendituresVo.class);
if (type){ if (type){
convert.forEach(temp ->{ convert.forEach(temp ->{
//供应商 supplier
String unitName = xzdSupplierInfoService.queryNameById(temp.getSupplier());
if (StringUtils.isNotBlank(unitName)){
temp.setSupplierName(unitName);
}
Long cbs = temp.getCbs(); Long cbs = temp.getCbs();
if (cbs != null){ if (cbs != null){
String name = iCbsTreeStructureService.queryById(cbs).getName(); String name = iCbsTreeStructureService.queryById(cbs).getName();