deptid添加

This commit is contained in:
lg
2025-10-24 20:01:03 +08:00
parent 218ec5ea95
commit ced6cb219c
73 changed files with 180 additions and 0 deletions

View File

@ -1,9 +1,17 @@
package org.dromara.test; package org.dromara.test;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import jakarta.annotation.Resource; import jakarta.annotation.Resource;
import org.dromara.common.core.utils.MapstructUtils;
import org.dromara.safety.domain.dto.violationrecord.HseViolationRecordCreateDto; import org.dromara.safety.domain.dto.violationrecord.HseViolationRecordCreateDto;
import org.dromara.safety.service.IHseViolationRecordService; import org.dromara.safety.service.IHseViolationRecordService;
import org.dromara.system.domain.SysMenu;
import org.dromara.system.domain.vo.SysMenuVo;
import org.dromara.system.mapper.SysMenuMapper;
import org.dromara.system.service.ISysMenuService;
import org.hamcrest.core.Is;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
import java.util.ArrayList; import java.util.ArrayList;
@ -20,6 +28,9 @@ public class ViolationRecordTest {
@Resource @Resource
private IHseViolationRecordService violationRecordService; private IHseViolationRecordService violationRecordService;
@Autowired
private SysMenuMapper sysMenuMapper;
@Test @Test
void test() { void test() {
List<HseViolationRecordCreateDto> list = new ArrayList<>(); List<HseViolationRecordCreateDto> list = new ArrayList<>();
@ -55,4 +66,26 @@ public class ViolationRecordTest {
list.add(dto5); list.add(dto5);
violationRecordService.insertByMonitor(list); violationRecordService.insertByMonitor(list);
} }
@Test
void contextLoads() {
SysMenuVo sysMenuVo = sysMenusByList(1972500768346673154L);
System.out.println(sysMenuVo.toString());
}
SysMenuVo sysMenusByList(Long id) {
SysMenuVo sysMenus = new SysMenuVo();
List<SysMenu> res = sysMenuMapper.selectList(new LambdaQueryWrapper<SysMenu>().eq(SysMenu::getParentId, id));
if (res != null && res.size() > 0 ) {
sysMenus.setChildren(MapstructUtils.convert(res, SysMenuVo.class));
res.forEach(sysMenu -> {
sysMenusByList(sysMenu.getMenuId());
});
}
return sysMenus;
}
} }

View File

@ -127,4 +127,7 @@ public class XzdBiddingFileEstimate extends BaseEntity {
private String auditStatus; private String auditStatus;
private Long deptId;
} }

View File

@ -123,5 +123,7 @@ public class XzdBiddingFileEstimateBo extends BaseEntity {
*/ */
private String auditStatus; private String auditStatus;
private Long deptId;
} }

View File

@ -176,6 +176,9 @@ public class XzdBiddingFileEstimateVo implements Serializable {
@TableField(fill = FieldFill.INSERT) @TableField(fill = FieldFill.INSERT)
private Date createTime; private Date createTime;
private Long deptId;
} }

View File

@ -108,6 +108,7 @@ public class XzdBiddingFileEstimateServiceImpl extends ServiceImpl<XzdBiddingFil
lqw.orderByDesc(XzdBiddingFileEstimate::getId); lqw.orderByDesc(XzdBiddingFileEstimate::getId);
lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), XzdBiddingFileEstimate::getDocumentCode, bo.getDocumentCode()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), XzdBiddingFileEstimate::getDocumentCode, bo.getDocumentCode());
lqw.eq(bo.getDocumentDate() != null, XzdBiddingFileEstimate::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdBiddingFileEstimate::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, XzdBiddingFileEstimate::getDeptId, bo.getDeptId());
lqw.like(bo.getProjectName() !=null, XzdBiddingFileEstimate::getProjectName, bo.getProjectName()); lqw.like(bo.getProjectName() !=null, XzdBiddingFileEstimate::getProjectName, bo.getProjectName());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdBiddingFileEstimate::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdBiddingFileEstimate::getTitle, bo.getTitle());
lqw.eq(StringUtils.isNotBlank(bo.getProjectLocation()), XzdBiddingFileEstimate::getProjectLocation, bo.getProjectLocation()); lqw.eq(StringUtils.isNotBlank(bo.getProjectLocation()), XzdBiddingFileEstimate::getProjectLocation, bo.getProjectLocation());

View File

@ -98,6 +98,9 @@ public class XzdBidDepositRecovery extends BaseEntity {
*/ */
private String depositStatus; private String depositStatus;
private Long deptId;
/** /**
* 保证金金额 * 保证金金额
*/ */

View File

@ -184,6 +184,8 @@ public class XzdBidDepositRecoveryBo extends BaseEntity {
*/ */
private Integer gatheringNumber; private Integer gatheringNumber;
private Long deptId;
/** /**
* 收款单位(供应商信息) * 收款单位(供应商信息)
*/ */

View File

@ -270,5 +270,7 @@ public class XzdBidDepositRecoveryVo implements Serializable {
*/ */
private String xmbm; private String xmbm;
private Long deptId;
} }

View File

@ -131,6 +131,7 @@ public class XzdBidDepositRecoveryServiceImpl extends ServiceImpl<XzdBidDepositR
lqw.eq(bo.getProjectType() != null, XzdBidDepositRecovery::getProjectType, bo.getProjectType()); lqw.eq(bo.getProjectType() != null, XzdBidDepositRecovery::getProjectType, bo.getProjectType());
lqw.eq(StringUtils.isNotBlank(bo.getBusinessMode()), XzdBidDepositRecovery::getBusinessMode, bo.getBusinessMode()); lqw.eq(StringUtils.isNotBlank(bo.getBusinessMode()), XzdBidDepositRecovery::getBusinessMode, bo.getBusinessMode());
lqw.eq(bo.getProjectCost() != null, XzdBidDepositRecovery::getProjectCost, bo.getProjectCost()); lqw.eq(bo.getProjectCost() != null, XzdBidDepositRecovery::getProjectCost, bo.getProjectCost());
lqw.eq(bo.getDeptId() != null, XzdBidDepositRecovery::getDeptId, bo.getDeptId());
lqw.eq(bo.getRecoveryAmount() != null, XzdBidDepositRecovery::getRecoveryAmount, bo.getRecoveryAmount()); lqw.eq(bo.getRecoveryAmount() != null, XzdBidDepositRecovery::getRecoveryAmount, bo.getRecoveryAmount());
lqw.eq(StringUtils.isNotBlank(bo.getRecoveryAmountCapital()), XzdBidDepositRecovery::getRecoveryAmountCapital, bo.getRecoveryAmountCapital()); lqw.eq(StringUtils.isNotBlank(bo.getRecoveryAmountCapital()), XzdBidDepositRecovery::getRecoveryAmountCapital, bo.getRecoveryAmountCapital());
lqw.eq(bo.getDataFee() != null, XzdBidDepositRecovery::getDataFee, bo.getDataFee()); lqw.eq(bo.getDataFee() != null, XzdBidDepositRecovery::getDataFee, bo.getDataFee());

View File

@ -60,6 +60,8 @@ public class XzdPurchaseContractSuspend extends BaseEntity {
*/ */
private LocalDate terminationDate; private LocalDate terminationDate;
private Long deptId;
/** /**
* 项目名称 * 项目名称
*/ */

View File

@ -73,6 +73,7 @@ public class XzdPurchaseContractSuspendBo extends BaseEntity {
*/ */
private Long partyAUnit; private Long partyAUnit;
private Long deptId;
/** /**
* 终止原因 * 终止原因
*/ */

View File

@ -76,6 +76,8 @@ public class XzdPurchaseContractSuspendVo implements Serializable {
@ExcelProperty(value = "合同名称") @ExcelProperty(value = "合同名称")
private String contractName; private String contractName;
private Long deptId;
/** /**
* 终止日期 * 终止日期
*/ */

View File

@ -150,6 +150,7 @@ public class XzdPurchaseContractSuspendServiceImpl extends ServiceImpl<XzdPurcha
lqw.eq(StringUtils.isNotBlank(bo.getReceiptsCode()), XzdPurchaseContractSuspend::getReceiptsCode, bo.getReceiptsCode()); lqw.eq(StringUtils.isNotBlank(bo.getReceiptsCode()), XzdPurchaseContractSuspend::getReceiptsCode, bo.getReceiptsCode());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdPurchaseContractSuspend::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdPurchaseContractSuspend::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, XzdPurchaseContractSuspend::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdPurchaseContractSuspend::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, XzdPurchaseContractSuspend::getDeptId, bo.getDeptId());
lqw.ge(bo.getStartDate() != null, XzdPurchaseContractSuspend::getDocumentDate, bo.getStartDate()); lqw.ge(bo.getStartDate() != null, XzdPurchaseContractSuspend::getDocumentDate, bo.getStartDate());
lqw.le(bo.getEndDate() != null, XzdPurchaseContractSuspend::getDocumentDate, bo.getEndDate()); lqw.le(bo.getEndDate() != null, XzdPurchaseContractSuspend::getDocumentDate, bo.getEndDate());

View File

@ -106,6 +106,8 @@ public class XzdPurchaseContractAlteration extends BaseEntity {
*/ */
private String warning; private String warning;
private Long deptId;
/** /**
* 累计变更金额 * 累计变更金额
*/ */

View File

@ -66,6 +66,8 @@ public class XzdPurchaseContractAlterationBo extends BaseEntity {
*/ */
private String contractType; private String contractType;
private Long deptId;
/** /**
* 变更类型 * 变更类型
*/ */

View File

@ -96,6 +96,8 @@ public class XzdPurchaseContractAlterationVo implements Serializable {
@ExcelProperty(value = "变更类型") @ExcelProperty(value = "变更类型")
private String alterationType; private String alterationType;
private Long deptId;
/** /**
* 项目名称 * 项目名称
*/ */

View File

@ -194,6 +194,7 @@ public class XzdPurchaseContractAlterationServiceImpl extends ServiceImpl<XzdPur
lqw.eq(StringUtils.isNotBlank(bo.getReceiptsCode()), XzdPurchaseContractAlteration::getReceiptsCode, bo.getReceiptsCode()); lqw.eq(StringUtils.isNotBlank(bo.getReceiptsCode()), XzdPurchaseContractAlteration::getReceiptsCode, bo.getReceiptsCode());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdPurchaseContractAlteration::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdPurchaseContractAlteration::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, XzdPurchaseContractAlteration::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdPurchaseContractAlteration::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, XzdPurchaseContractAlteration::getDeptId, bo.getDeptId());
lqw.ge(bo.getStartDate() != null, XzdPurchaseContractAlteration::getDocumentDate, bo.getStartDate()); lqw.ge(bo.getStartDate() != null, XzdPurchaseContractAlteration::getDocumentDate, bo.getStartDate());
lqw.le(bo.getEndDate() != null, XzdPurchaseContractAlteration::getDocumentDate, bo.getEndDate()); lqw.le(bo.getEndDate() != null, XzdPurchaseContractAlteration::getDocumentDate, bo.getEndDate());

View File

@ -84,6 +84,8 @@ public class XzdSubcontractChange extends BaseEntity {
*/ */
private String organizationName; private String organizationName;
private Long deptId;
/** /**
* 甲方单位 * 甲方单位
*/ */

View File

@ -82,6 +82,8 @@ public class XzdSubcontractChangeBo extends BaseEntity {
*/ */
private String businessModel; private String businessModel;
private Long deptId;
/** /**
* 组织 * 组织
*/ */

View File

@ -125,6 +125,9 @@ public class XzdSubcontractChangeVo implements Serializable {
@ExcelProperty(value = "甲方单位") @ExcelProperty(value = "甲方单位")
private String partyAUnitName; private String partyAUnitName;
private Long deptId;
/** /**
* 乙方单位 * 乙方单位
*/ */

View File

@ -170,6 +170,7 @@ public class XzdSubcontractChangeServiceImpl extends ServiceImpl<XzdSubcontractC
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(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.ge(bo.getStartTime() != null, XzdSubcontractChange::getDocumentDate, bo.getStartTime()); lqw.ge(bo.getStartTime() != null, XzdSubcontractChange::getDocumentDate, bo.getStartTime());
lqw.le(bo.getEndTime() != null, XzdSubcontractChange::getDocumentDate, bo.getEndTime()); lqw.le(bo.getEndTime() != null, XzdSubcontractChange::getDocumentDate, bo.getEndTime());

View File

@ -53,6 +53,8 @@ public class XzdSubcontract extends BaseEntity {
*/ */
private Long project; private Long project;
private Long deptId;
/** /**
* 经营模式 * 经营模式
*/ */

View File

@ -68,6 +68,8 @@ public class XzdSubcontractBo extends BaseEntity {
*/ */
private String businessModel; private String businessModel;
private Long deptId;
/** /**
* 原合同造价 * 原合同造价
*/ */

View File

@ -80,6 +80,8 @@ public class XzdSubcontractVo implements Serializable {
@ExcelProperty(value = "项目") @ExcelProperty(value = "项目")
private Long project; private Long project;
private Long deptId;
/** /**
* 项目名称 * 项目名称
*/ */

View File

@ -215,6 +215,7 @@ public class XzdSubcontractServiceImpl extends ServiceImpl<XzdSubcontractMapper,
lqw.eq(StringUtils.isNotBlank(bo.getContractCode()), XzdSubcontract::getContractCode, bo.getContractCode()); lqw.eq(StringUtils.isNotBlank(bo.getContractCode()), XzdSubcontract::getContractCode, bo.getContractCode());
lqw.like(StringUtils.isNotBlank(bo.getContractName()), XzdSubcontract::getContractName, bo.getContractName()); lqw.like(StringUtils.isNotBlank(bo.getContractName()), XzdSubcontract::getContractName, bo.getContractName());
lqw.eq(bo.getDocumentDate() != null, XzdSubcontract::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdSubcontract::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, XzdSubcontract::getDeptId, bo.getDeptId());
lqw.ge(bo.getStartDate() != null, XzdSubcontract::getDocumentDate, bo.getStartDate()); lqw.ge(bo.getStartDate() != null, XzdSubcontract::getDocumentDate, bo.getStartDate());
lqw.le(bo.getEndDate() != null, XzdSubcontract::getDocumentDate, bo.getEndDate()); lqw.le(bo.getEndDate() != null, XzdSubcontract::getDocumentDate, bo.getEndDate());

View File

@ -54,6 +54,7 @@ public class XzdSubcontractTermination extends BaseEntity {
*/ */
private String contractName; private String contractName;
private Long deptId;
/** /**
* 终止日期 * 终止日期
*/ */

View File

@ -57,6 +57,8 @@ public class XzdSubcontractTerminationBo extends BaseEntity {
*/ */
private LocalDate terminationDate; private LocalDate terminationDate;
private Long deptId;
/** /**
* 工程项目 * 工程项目
*/ */

View File

@ -71,6 +71,8 @@ public class XzdSubcontractTerminationVo implements Serializable {
@ExcelProperty(value = "合同编码") @ExcelProperty(value = "合同编码")
private String contractNumberName; private String contractNumberName;
private Long deptId;
/** /**
* 合同名称 * 合同名称
*/ */

View File

@ -108,6 +108,7 @@ public class XzdSubcontractTerminationServiceImpl extends ServiceImpl<XzdSubcont
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdSubcontractTermination::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdSubcontractTermination::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, XzdSubcontractTermination::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdSubcontractTermination::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getContractNumber() != null, XzdSubcontractTermination::getContractNumber, bo.getContractNumber()); lqw.eq(bo.getContractNumber() != null, XzdSubcontractTermination::getContractNumber, bo.getContractNumber());
lqw.eq(bo.getDeptId() != null, XzdSubcontractTermination::getDeptId, bo.getDeptId());
lqw.like(StringUtils.isNotBlank(bo.getContractName()), XzdSubcontractTermination::getContractName, bo.getContractName()); lqw.like(StringUtils.isNotBlank(bo.getContractName()), XzdSubcontractTermination::getContractName, bo.getContractName());
lqw.eq(bo.getTerminationDate() != null, XzdSubcontractTermination::getTerminationDate, bo.getTerminationDate()); lqw.eq(bo.getTerminationDate() != null, XzdSubcontractTermination::getTerminationDate, bo.getTerminationDate());
lqw.eq(StringUtils.isNotBlank(bo.getEngineeringProject()), XzdSubcontractTermination::getEngineeringProject, bo.getEngineeringProject()); lqw.eq(StringUtils.isNotBlank(bo.getEngineeringProject()), XzdSubcontractTermination::getEngineeringProject, bo.getEngineeringProject());

View File

@ -91,6 +91,8 @@ public class XzdPurchaseContractInformation extends BaseEntity {
*/ */
private Long cumulativeChangeAmount; private Long cumulativeChangeAmount;
private Long deptId;
/** /**
* 归档日期 * 归档日期
*/ */

View File

@ -80,6 +80,8 @@ public class XzdPurchaseContractInformationBo extends BaseEntity {
*/ */
private Long partyAUnit; private Long partyAUnit;
private Long deptId;
/** /**
* 含税合同金额 * 含税合同金额
*/ */

View File

@ -63,6 +63,8 @@ public class XzdPurchaseContractInformationVo implements Serializable {
*/ */
private String contractText; private String contractText;
private Long deptId;
/** /**
* 单据日期 * 单据日期
*/ */

View File

@ -152,6 +152,7 @@ public class XzdPurchaseContractInformationServiceImpl extends ServiceImpl<XzdPu
lqw.eq(StringUtils.isNotBlank(bo.getContractCode()), XzdPurchaseContractInformation::getContractCode, bo.getContractCode()); lqw.eq(StringUtils.isNotBlank(bo.getContractCode()), XzdPurchaseContractInformation::getContractCode, bo.getContractCode());
lqw.like(StringUtils.isNotBlank(bo.getContractName()), XzdPurchaseContractInformation::getContractName, bo.getContractName()); lqw.like(StringUtils.isNotBlank(bo.getContractName()), XzdPurchaseContractInformation::getContractName, bo.getContractName());
lqw.eq(bo.getDocumentDate() != null, XzdPurchaseContractInformation::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdPurchaseContractInformation::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, XzdPurchaseContractInformation::getDeptId, bo.getDeptId());
lqw.ge(bo.getStartDate() != null, XzdPurchaseContractInformation::getDocumentDate, bo.getStartDate()); lqw.ge(bo.getStartDate() != null, XzdPurchaseContractInformation::getDocumentDate, bo.getStartDate());
lqw.le(bo.getEndDate() != null, XzdPurchaseContractInformation::getDocumentDate, bo.getEndDate()); lqw.le(bo.getEndDate() != null, XzdPurchaseContractInformation::getDocumentDate, bo.getEndDate());

View File

@ -228,4 +228,6 @@ public class XzdGuaranteeChangeInfo extends BaseEntity {
private String fileId; private String fileId;
private Long deptId;
} }

View File

@ -245,5 +245,7 @@ public class XzdGuaranteeChangeInfoBo extends BaseEntity {
private LocalDate endTime; private LocalDate endTime;
private Long deptId;
} }

View File

@ -305,5 +305,7 @@ public class XzdGuaranteeChangeInfoVo implements Serializable {
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "createBy") @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "createBy")
private String createByName; private String createByName;
private Long deptId;
} }

View File

@ -95,6 +95,7 @@ public class XzdGuaranteeChangeInfoServiceImpl extends ServiceImpl<XzdGuaranteeC
LambdaQueryWrapper<XzdGuaranteeChangeInfo> lqw = Wrappers.lambdaQuery(); LambdaQueryWrapper<XzdGuaranteeChangeInfo> lqw = Wrappers.lambdaQuery();
lqw.orderByDesc(XzdGuaranteeChangeInfo::getId); lqw.orderByDesc(XzdGuaranteeChangeInfo::getId);
lqw.eq(bo.getDanjuId() != null, XzdGuaranteeChangeInfo::getDanjuId, bo.getDanjuId()); lqw.eq(bo.getDanjuId() != null, XzdGuaranteeChangeInfo::getDanjuId, bo.getDanjuId());
lqw.eq(bo.getDeptId() != null, XzdGuaranteeChangeInfo::getDeptId, bo.getDeptId());
lqw.eq(StringUtils.isNotBlank(bo.getDocumentNumber()), XzdGuaranteeChangeInfo::getDocumentNumber, bo.getDocumentNumber()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentNumber()), XzdGuaranteeChangeInfo::getDocumentNumber, bo.getDocumentNumber());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdGuaranteeChangeInfo::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdGuaranteeChangeInfo::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, XzdGuaranteeChangeInfo::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdGuaranteeChangeInfo::getDocumentDate, bo.getDocumentDate());

View File

@ -93,6 +93,7 @@ public class XzdGuaranteeInfo extends BaseEntity {
*/ */
private Long partyAUnit; private Long partyAUnit;
private Long deptId;
/** /**
* 乙方单位 * 乙方单位
*/ */

View File

@ -62,6 +62,8 @@ public class XzdGuaranteeInfoBo extends BaseEntity {
*/ */
private String contractNumber; private String contractNumber;
private Long deptId;
/** /**
* 合同名称 * 合同名称
*/ */

View File

@ -70,6 +70,7 @@ public class XzdGuaranteeInfoVo implements Serializable {
@ExcelProperty(value = "单据日期") @ExcelProperty(value = "单据日期")
private LocalDate documentDate; private LocalDate documentDate;
private Long deptId;
/** /**
* 合同编号 * 合同编号
*/ */

View File

@ -137,6 +137,7 @@ public class XzdGuaranteeInfoServiceImpl extends ServiceImpl<XzdGuaranteeInfoMap
lqw.eq(StringUtils.isNotBlank(bo.getContractType()), XzdGuaranteeInfo::getContractType, bo.getContractType()); lqw.eq(StringUtils.isNotBlank(bo.getContractType()), XzdGuaranteeInfo::getContractType, bo.getContractType());
lqw.eq(StringUtils.isNotBlank(bo.getDocumentNumber()), XzdGuaranteeInfo::getDocumentNumber, bo.getDocumentNumber()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentNumber()), XzdGuaranteeInfo::getDocumentNumber, bo.getDocumentNumber());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdGuaranteeInfo::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdGuaranteeInfo::getTitle, bo.getTitle());
lqw.eq(bo.getDeptId() != null, XzdGuaranteeInfo::getDeptId, bo.getDeptId());
lqw.eq(bo.getDocumentDate() != null, XzdGuaranteeInfo::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdGuaranteeInfo::getDocumentDate, bo.getDocumentDate());
lqw.ge(bo.getStartDate() != null, XzdGuaranteeInfo::getDocumentDate,bo.getStartDate()); lqw.ge(bo.getStartDate() != null, XzdGuaranteeInfo::getDocumentDate,bo.getStartDate());
lqw.le(bo.getEndDate() != null, XzdGuaranteeInfo::getDocumentDate,bo.getEndDate()); lqw.le(bo.getEndDate() != null, XzdGuaranteeInfo::getDocumentDate,bo.getEndDate());

View File

@ -73,6 +73,8 @@ public class XzdDepositApplication extends BaseEntity {
*/ */
private Long paymentMethod; private Long paymentMethod;
private Long deptId;
/** /**
* 保证金类型(字典) * 保证金类型(字典)
*/ */

View File

@ -41,6 +41,8 @@ public class XzdDepositApplicationBo extends BaseEntity {
*/ */
private String documentSerialNumber; private String documentSerialNumber;
private Long deptId;
/** /**
* 申请人所属组织 * 申请人所属组织
*/ */

View File

@ -61,6 +61,8 @@ public class XzdDepositApplicationVo implements Serializable {
@ExcelProperty(value = "申请人所属组织") @ExcelProperty(value = "申请人所属组织")
private Long applicantOrganization; private Long applicantOrganization;
private Long deptId;
/** /**
* 申请人所属组织名称 * 申请人所属组织名称
*/ */
@ -130,6 +132,13 @@ public class XzdDepositApplicationVo implements Serializable {
@ExcelProperty(value = "收取保证金单位") @ExcelProperty(value = "收取保证金单位")
private String depositReceivingUnit; private String depositReceivingUnit;
/**
* 收取保证金单位
*/
@ExcelProperty(value = "收取保证金单位")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "depositReceivingUnit")
private String depositReceivingUnitName;
/** /**
* 账号 * 账号
*/ */

View File

@ -86,6 +86,7 @@ public class XzdDepositApplicationServiceImpl extends ServiceImpl<XzdDepositAppl
LambdaQueryWrapper<XzdDepositApplication> lqw = Wrappers.lambdaQuery(); LambdaQueryWrapper<XzdDepositApplication> lqw = Wrappers.lambdaQuery();
lqw.orderByDesc(XzdDepositApplication::getId); lqw.orderByDesc(XzdDepositApplication::getId);
lqw.eq(bo.getApplicationTime() != null, XzdDepositApplication::getApplicationTime, bo.getApplicationTime()); lqw.eq(bo.getApplicationTime() != null, XzdDepositApplication::getApplicationTime, bo.getApplicationTime());
lqw.eq(bo.getDeptId() != null, XzdDepositApplication::getDeptId, bo.getDeptId());
lqw.eq(StringUtils.isNotBlank(bo.getDocumentSerialNumber()), XzdDepositApplication::getDocumentSerialNumber, bo.getDocumentSerialNumber()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentSerialNumber()), XzdDepositApplication::getDocumentSerialNumber, bo.getDocumentSerialNumber());
lqw.eq(bo.getApplicantOrganization() != null, XzdDepositApplication::getApplicantOrganization, bo.getApplicantOrganization()); lqw.eq(bo.getApplicantOrganization() != null, XzdDepositApplication::getApplicantOrganization, bo.getApplicantOrganization());
lqw.eq(bo.getApplicantDepartment() != null, XzdDepositApplication::getApplicantDepartment, bo.getApplicantDepartment()); lqw.eq(bo.getApplicantDepartment() != null, XzdDepositApplication::getApplicantDepartment, bo.getApplicantDepartment());

View File

@ -63,6 +63,8 @@ public class XzdFbhtzbjth extends BaseEntity {
*/ */
private String contractName; private String contractName;
private Long deptId;
/** /**
* 合同金额 * 合同金额
*/ */

View File

@ -58,6 +58,8 @@ public class XzdFbhtzbjthBo extends BaseEntity {
*/ */
private String contractCode; private String contractCode;
private Long deptId;
/** /**
* 合同名称 * 合同名称
*/ */

View File

@ -80,6 +80,8 @@ public class XzdFbhtzbjthVo implements Serializable {
@ExcelProperty(value = "合同名称") @ExcelProperty(value = "合同名称")
private String contractName; private String contractName;
private Long deptId;
/** /**
* 合同金额 * 合同金额
*/ */
@ -116,6 +118,13 @@ public class XzdFbhtzbjthVo implements Serializable {
@ExcelProperty(value = "项目") @ExcelProperty(value = "项目")
private String project; private String project;
/**
* 项目
*/
@ExcelProperty(value = "项目")
@Translation(type = TransConstant.XZD_PROJECT_ID_TO_NAME, mapper = "project")
private String projectName;
/** /**
* 质保金比例(%) * 质保金比例(%)
*/ */
@ -128,6 +137,13 @@ public class XzdFbhtzbjthVo implements Serializable {
@ExcelProperty(value = "申请单位") @ExcelProperty(value = "申请单位")
private String applicationUnit; private String applicationUnit;
/**
* 申请单位
*/
@ExcelProperty(value = "申请单位")
@Translation(type = TransConstant.XZD_GYSXX_ID_TO_NAME, mapper = "applicationUnit")
private String applicationUnitName;
/** /**
* 供应商负责人 * 供应商负责人
*/ */

View File

@ -98,6 +98,7 @@ public class XzdFbhtzbjthServiceImpl extends ServiceImpl<XzdFbhtzbjthMapper, Xzd
LambdaQueryWrapper<XzdFbhtzbjth> lqw = Wrappers.lambdaQuery(); LambdaQueryWrapper<XzdFbhtzbjth> lqw = Wrappers.lambdaQuery();
lqw.orderByDesc(XzdFbhtzbjth::getId); lqw.orderByDesc(XzdFbhtzbjth::getId);
lqw.eq(bo.getDanjuId() != null, XzdFbhtzbjth::getDanjuId, bo.getDanjuId()); lqw.eq(bo.getDanjuId() != null, XzdFbhtzbjth::getDanjuId, bo.getDanjuId());
lqw.eq(bo.getDeptId() != null, XzdFbhtzbjth::getDeptId, bo.getDeptId());
lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), XzdFbhtzbjth::getDocumentCode, bo.getDocumentCode()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), XzdFbhtzbjth::getDocumentCode, bo.getDocumentCode());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdFbhtzbjth::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), XzdFbhtzbjth::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, XzdFbhtzbjth::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, XzdFbhtzbjth::getDocumentDate, bo.getDocumentDate());

View File

@ -76,6 +76,8 @@ public class AppreciationInvoice extends BaseEntity {
*/ */
private Long organization; private Long organization;
private Long deptId;
/** /**
* 经办人 * 经办人
*/ */

View File

@ -52,6 +52,8 @@ public class AppreciationInvoiceBo extends BaseEntity {
*/ */
private LocalDate entryDate; private LocalDate entryDate;
private Long deptId;
/** /**
* 年度 * 年度
*/ */

View File

@ -54,6 +54,8 @@ public class AppreciationInvoiceVo implements Serializable {
@ExcelProperty(value = "项目") @ExcelProperty(value = "项目")
private Long project; private Long project;
private Long deptId;
/** /**
* 项目名称 * 项目名称
*/ */

View File

@ -155,6 +155,7 @@ public class AppreciationInvoiceServiceImpl extends ServiceImpl<AppreciationInvo
lqw.eq(bo.getContractNo() != null, AppreciationInvoice::getContractNo, bo.getContractNo()); lqw.eq(bo.getContractNo() != null, AppreciationInvoice::getContractNo, bo.getContractNo());
lqw.eq(bo.getEntryDate() != null, AppreciationInvoice::getEntryDate, bo.getEntryDate()); lqw.eq(bo.getEntryDate() != null, AppreciationInvoice::getEntryDate, bo.getEntryDate());
lqw.eq(bo.getYear() != null, AppreciationInvoice::getYear, bo.getYear()); lqw.eq(bo.getYear() != null, AppreciationInvoice::getYear, bo.getYear());
lqw.eq(bo.getDeptId() != null, AppreciationInvoice::getDeptId, bo.getDeptId());
lqw.eq(bo.getAccountingPeriod() != null, AppreciationInvoice::getAccountingPeriod, bo.getAccountingPeriod()); lqw.eq(bo.getAccountingPeriod() != null, AppreciationInvoice::getAccountingPeriod, bo.getAccountingPeriod());
lqw.eq(StringUtils.isNotBlank(bo.getTaxType()), AppreciationInvoice::getTaxType, bo.getTaxType()); lqw.eq(StringUtils.isNotBlank(bo.getTaxType()), AppreciationInvoice::getTaxType, bo.getTaxType());
lqw.eq(bo.getTaxItem() != null, AppreciationInvoice::getTaxItem, bo.getTaxItem()); lqw.eq(bo.getTaxItem() != null, AppreciationInvoice::getTaxItem, bo.getTaxItem());

View File

@ -54,6 +54,8 @@ public class SettlementOfSubcontractingContract extends BaseEntity {
*/ */
private String contractName; private String contractName;
private Long deptId;
/** /**
* 统计周期 * 统计周期
*/ */

View File

@ -66,6 +66,8 @@ public class SettlementOfSubcontractingContractBo extends BaseEntity {
*/ */
private LocalDate measurementStart; private LocalDate measurementStart;
private Long deptId;
/** /**
* 项目 * 项目
*/ */

View File

@ -61,6 +61,8 @@ public class SettlementOfSubcontractingContractVo implements Serializable {
@ExcelProperty(value = "单据日期") @ExcelProperty(value = "单据日期")
private LocalDate documentDate; private LocalDate documentDate;
private Long deptId;
/** /**
* 合同编码 * 合同编码
*/ */

View File

@ -185,6 +185,7 @@ public class SettlementOfSubcontractingContractServiceImpl extends ServiceImpl<S
lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), SettlementOfSubcontractingContract::getDocumentCode, bo.getDocumentCode()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), SettlementOfSubcontractingContract::getDocumentCode, bo.getDocumentCode());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), SettlementOfSubcontractingContract::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), SettlementOfSubcontractingContract::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, SettlementOfSubcontractingContract::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, SettlementOfSubcontractingContract::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, SettlementOfSubcontractingContract::getDeptId, bo.getDeptId());
lqw.ge(bo.getStartDate() != null, SettlementOfSubcontractingContract::getDocumentDate, bo.getStartDate()); lqw.ge(bo.getStartDate() != null, SettlementOfSubcontractingContract::getDocumentDate, bo.getStartDate());
lqw.le(bo.getEndDate() != null, SettlementOfSubcontractingContract::getDocumentDate, bo.getEndDate()); lqw.le(bo.getEndDate() != null, SettlementOfSubcontractingContract::getDocumentDate, bo.getEndDate());

View File

@ -59,6 +59,8 @@ public class SettlementOfSubcontractingCompletion extends BaseEntity {
*/ */
private Long approvedTotalPrice; private Long approvedTotalPrice;
private Long deptId;
/** /**
* 审定日期 * 审定日期
*/ */

View File

@ -59,6 +59,8 @@ public class SettlementOfSubcontractingCompletionBo extends BaseEntity {
*/ */
private String contractName; private String contractName;
private Long deptId;
/** /**
* 审定总价 * 审定总价
*/ */

View File

@ -75,6 +75,8 @@ public class SettlementOfSubcontractingCompletionVo implements Serializable {
@ExcelProperty(value = "合同名称") @ExcelProperty(value = "合同名称")
private String contractName; private String contractName;
private Long deptId;
/** /**
* 审定总价 * 审定总价
*/ */

View File

@ -221,6 +221,7 @@ public class SettlementOfSubcontractingCompletionServiceImpl extends ServiceImpl
lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), SettlementOfSubcontractingCompletion::getDocumentCode, bo.getDocumentCode()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentCode()), SettlementOfSubcontractingCompletion::getDocumentCode, bo.getDocumentCode());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), SettlementOfSubcontractingCompletion::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), SettlementOfSubcontractingCompletion::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, SettlementOfSubcontractingCompletion::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, SettlementOfSubcontractingCompletion::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, SettlementOfSubcontractingCompletion::getDeptId, bo.getDeptId());
lqw.ge(bo.getStartTime() != null, SettlementOfSubcontractingCompletion::getDocumentDate, bo.getStartTime()); lqw.ge(bo.getStartTime() != null, SettlementOfSubcontractingCompletion::getDocumentDate, bo.getStartTime());
lqw.le(bo.getEndTime() != null, SettlementOfSubcontractingCompletion::getDocumentDate, bo.getEndTime()); lqw.le(bo.getEndTime() != null, SettlementOfSubcontractingCompletion::getDocumentDate, bo.getEndTime());

View File

@ -84,6 +84,8 @@ public class SettlementOfSubcontractingAdjustment extends BaseEntity {
*/ */
private String fileId; private String fileId;
private Long deptId;
/** /**
* 备注 * 备注
*/ */

View File

@ -45,6 +45,8 @@ public class SettlementOfSubcontractingAdjustmentBo extends BaseEntity {
*/ */
private LocalDate documentDate; private LocalDate documentDate;
private Long deptId;
/** /**
* 决算单编号 * 决算单编号
*/ */

View File

@ -64,6 +64,7 @@ public class SettlementOfSubcontractingAdjustmentVo implements Serializable {
@ExcelProperty(value = "决算单编号") @ExcelProperty(value = "决算单编号")
private Long finalAccountNo; private Long finalAccountNo;
private Long deptId;
/** /**
* 决算单编号名称 * 决算单编号名称

View File

@ -129,6 +129,8 @@ public class SettlementOfSubcontractingAdjustmentServiceImpl extends ServiceImpl
lqw.eq(StringUtils.isNotBlank(bo.getDocumentNo()), SettlementOfSubcontractingAdjustment::getDocumentNo, bo.getDocumentNo()); lqw.eq(StringUtils.isNotBlank(bo.getDocumentNo()), SettlementOfSubcontractingAdjustment::getDocumentNo, bo.getDocumentNo());
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), SettlementOfSubcontractingAdjustment::getTitle, bo.getTitle()); lqw.eq(StringUtils.isNotBlank(bo.getTitle()), SettlementOfSubcontractingAdjustment::getTitle, bo.getTitle());
lqw.eq(bo.getDocumentDate() != null, SettlementOfSubcontractingAdjustment::getDocumentDate, bo.getDocumentDate()); lqw.eq(bo.getDocumentDate() != null, SettlementOfSubcontractingAdjustment::getDocumentDate, bo.getDocumentDate());
lqw.eq(bo.getDeptId() != null, SettlementOfSubcontractingAdjustment::getDeptId, bo.getDeptId());
lqw.eq(bo.getFinalAccountNo() != null, SettlementOfSubcontractingAdjustment::getFinalAccountNo, bo.getFinalAccountNo()); lqw.eq(bo.getFinalAccountNo() != null, SettlementOfSubcontractingAdjustment::getFinalAccountNo, bo.getFinalAccountNo());
lqw.like(StringUtils.isNotBlank(bo.getContractName()), SettlementOfSubcontractingAdjustment::getContractName, bo.getContractName()); lqw.like(StringUtils.isNotBlank(bo.getContractName()), SettlementOfSubcontractingAdjustment::getContractName, bo.getContractName());
lqw.eq(StringUtils.isNotBlank(bo.getContractNo()), SettlementOfSubcontractingAdjustment::getContractNo, bo.getContractNo()); lqw.eq(StringUtils.isNotBlank(bo.getContractNo()), SettlementOfSubcontractingAdjustment::getContractNo, bo.getContractNo());

View File

@ -44,6 +44,8 @@ public class FinancialRevenuePlanAlteration extends BaseEntity {
*/ */
private Long project; private Long project;
private Long deptId;
/** /**
* 计划类型 * 计划类型
*/ */

View File

@ -74,6 +74,8 @@ public class FinancialRevenuePlanAlterationBo extends BaseEntity {
*/ */
private BigDecimal expenseTotal; private BigDecimal expenseTotal;
private Long deptId;
/** /**
* 收入总额 * 收入总额
*/ */

View File

@ -67,6 +67,8 @@ public class FinancialRevenuePlanAlterationVo implements Serializable {
@ExcelProperty(value = "项目") @ExcelProperty(value = "项目")
private String projectName; private String projectName;
private Long deptId;
/** /**
* 计划类型 * 计划类型
*/ */

View File

@ -201,6 +201,7 @@ public class FinancialRevenuePlanAlterationServiceImpl extends ServiceImpl<Finan
lqw.eq(StringUtils.isNotBlank(bo.getWorkCycle()), FinancialRevenuePlanAlteration::getWorkCycle, bo.getWorkCycle()); lqw.eq(StringUtils.isNotBlank(bo.getWorkCycle()), FinancialRevenuePlanAlteration::getWorkCycle, bo.getWorkCycle());
lqw.eq(bo.getStartDate() != null, FinancialRevenuePlanAlteration::getStartDate, bo.getStartDate()); lqw.eq(bo.getStartDate() != null, FinancialRevenuePlanAlteration::getStartDate, bo.getStartDate());
lqw.eq(bo.getEndDate() != null, FinancialRevenuePlanAlteration::getEndDate, bo.getEndDate()); lqw.eq(bo.getEndDate() != null, FinancialRevenuePlanAlteration::getEndDate, bo.getEndDate());
lqw.eq(bo.getDeptId() != null, FinancialRevenuePlanAlteration::getDeptId, bo.getDeptId());
lqw.eq(bo.getExpenseTotal() != null, FinancialRevenuePlanAlteration::getExpenseTotal, bo.getExpenseTotal()); lqw.eq(bo.getExpenseTotal() != null, FinancialRevenuePlanAlteration::getExpenseTotal, bo.getExpenseTotal());
lqw.eq(bo.getIncomeTotal() != null, FinancialRevenuePlanAlteration::getIncomeTotal, bo.getIncomeTotal()); lqw.eq(bo.getIncomeTotal() != null, FinancialRevenuePlanAlteration::getIncomeTotal, bo.getIncomeTotal());
lqw.eq(StringUtils.isNotBlank(bo.getIsTemporaryPlan()), FinancialRevenuePlanAlteration::getIsTemporaryPlan, bo.getIsTemporaryPlan()); lqw.eq(StringUtils.isNotBlank(bo.getIsTemporaryPlan()), FinancialRevenuePlanAlteration::getIsTemporaryPlan, bo.getIsTemporaryPlan());

View File

@ -94,6 +94,8 @@ public class FinancialRevenueExpenditurePlan extends BaseEntity {
*/ */
private BigDecimal projectAvailableBalance; private BigDecimal projectAvailableBalance;
private Long deptId;
/** /**
* 累计收款金额 * 累计收款金额
*/ */

View File

@ -72,6 +72,8 @@ public class FinancialRevenueExpenditurePlanBo extends BaseEntity {
*/ */
private BigDecimal expenseTotal; private BigDecimal expenseTotal;
private Long deptId;
/** /**
* 收入总额 * 收入总额
*/ */

View File

@ -74,6 +74,8 @@ public class FinancialRevenueExpenditurePlanVo implements Serializable {
@ExcelProperty(value = "计划类型") @ExcelProperty(value = "计划类型")
private String planType; private String planType;
private Long deptId;
/** /**
* 工作周期 * 工作周期
*/ */

View File

@ -202,6 +202,7 @@ public class FinancialRevenueExpenditurePlanServiceImpl extends ServiceImpl<Fina
lqw.eq(bo.getProject() != null, FinancialRevenueExpenditurePlan::getProject, bo.getProject()); lqw.eq(bo.getProject() != null, FinancialRevenueExpenditurePlan::getProject, bo.getProject());
lqw.eq(StringUtils.isNotBlank(bo.getPlanType()), FinancialRevenueExpenditurePlan::getPlanType, bo.getPlanType()); lqw.eq(StringUtils.isNotBlank(bo.getPlanType()), FinancialRevenueExpenditurePlan::getPlanType, bo.getPlanType());
lqw.eq(bo.getWorkCycle() != null, FinancialRevenueExpenditurePlan::getWorkCycle, bo.getWorkCycle()); lqw.eq(bo.getWorkCycle() != null, FinancialRevenueExpenditurePlan::getWorkCycle, bo.getWorkCycle());
lqw.eq(bo.getDeptId() != null, FinancialRevenueExpenditurePlan::getDeptId, bo.getDeptId());
lqw.eq(bo.getStartDate() != null, FinancialRevenueExpenditurePlan::getStartDate, bo.getStartDate()); lqw.eq(bo.getStartDate() != null, FinancialRevenueExpenditurePlan::getStartDate, bo.getStartDate());
lqw.eq(bo.getEndDate() != null, FinancialRevenueExpenditurePlan::getEndDate, bo.getEndDate()); lqw.eq(bo.getEndDate() != null, FinancialRevenueExpenditurePlan::getEndDate, bo.getEndDate());
lqw.eq(bo.getExpenseTotal() != null, FinancialRevenueExpenditurePlan::getExpenseTotal, bo.getExpenseTotal()); lqw.eq(bo.getExpenseTotal() != null, FinancialRevenueExpenditurePlan::getExpenseTotal, bo.getExpenseTotal());