update
This commit is contained in:
@ -77,4 +77,17 @@ public class LngContractPageDto extends PageInput {
|
|||||||
@ApiModelProperty("备注")
|
@ApiModelProperty("备注")
|
||||||
private String note;
|
private String note;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
@ApiModelProperty("上载点名称")
|
||||||
|
private String pointUpName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
@ApiModelProperty("自主托运")
|
||||||
|
private String transName;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,82 +0,0 @@
|
|||||||
package com.xjrsoft.module.contract.vo;
|
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
|
||||||
|
|
||||||
import com.xjrsoft.common.annotation.Trans;
|
|
||||||
import com.xjrsoft.common.enums.TransType;
|
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @title: 分页列表出参
|
|
||||||
* @Author 管理员
|
|
||||||
* @Date: 2025-12-30
|
|
||||||
* @Version 1.0
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class LngContractPurPageVo {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 主键
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("主键")
|
|
||||||
private String id;
|
|
||||||
/**
|
|
||||||
* 合同主体ID(天然气公司/惠贸)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("合同主体ID(天然气公司/惠贸)")
|
|
||||||
private Long comId;
|
|
||||||
/**
|
|
||||||
* 合同号
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("合同号")
|
|
||||||
private String kNo;
|
|
||||||
/**
|
|
||||||
* 合同名称
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("合同名称")
|
|
||||||
private String kName;
|
|
||||||
/**
|
|
||||||
* 是否线上(竞拍)合同(Y-是,N-否;线上合同不需要审批)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("是否线上(竞拍)合同(Y-是,N-否;线上合同不需要审批)")
|
|
||||||
@Trans(type = TransType.DIC, id = "1978057078528327681")
|
|
||||||
private String onlineSign;
|
|
||||||
/**
|
|
||||||
* 交易对手类型(lng_supplier-供应商,lng_customer-客户;不显示)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("交易对手类型(lng_supplier-供应商,lng_customer-客户;不显示)")
|
|
||||||
private String cpTableName;
|
|
||||||
/**
|
|
||||||
* 主交易对手名称
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("主交易对手名称")
|
|
||||||
private String cpName;
|
|
||||||
/**
|
|
||||||
* 有效期开始
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("有效期开始")
|
|
||||||
private LocalDateTime dateFrom;
|
|
||||||
/**
|
|
||||||
* 有效期结束
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("有效期结束")
|
|
||||||
private LocalDateTime dateTo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 状态(未提交/审批中/已审批/已驳回)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("状态(未提交/审批中/已审批/已驳回)")
|
|
||||||
@Trans(type = TransType.DIC, id = "1990669393069129729", transToFieldName = "approName")
|
|
||||||
private String approCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("状态(未提交/审批中/已审批/已驳回)")
|
|
||||||
private String approName;
|
|
||||||
/**
|
|
||||||
* 备注
|
|
||||||
*/
|
|
||||||
@ApiModelProperty("备注")
|
|
||||||
private String note;
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -11,7 +11,7 @@ import com.baomidou.mybatisplus.core.toolkit.Constants;
|
|||||||
import com.github.yulichang.base.MPJBaseMapper;
|
import com.github.yulichang.base.MPJBaseMapper;
|
||||||
import com.xjrsoft.module.contract.dto.LngContractPageDto;
|
import com.xjrsoft.module.contract.dto.LngContractPageDto;
|
||||||
import com.xjrsoft.module.contract.entity.LngContractPur;
|
import com.xjrsoft.module.contract.entity.LngContractPur;
|
||||||
import com.xjrsoft.module.contract.vo.LngContractPurPageVo;
|
import com.xjrsoft.module.contract.vo.LngContractPageVo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @title: mapper
|
* @title: mapper
|
||||||
@ -39,6 +39,6 @@ public interface LngContractPurMapper extends MPJBaseMapper<LngContractPur>, Bas
|
|||||||
" ${ew.customSqlSegment}" +
|
" ${ew.customSqlSegment}" +
|
||||||
" GROUP BY k.id, k.k_no, k.k_name, su.su_sname, k.date_from, k.date_to,com.name, dd_a.name" +
|
" GROUP BY k.id, k.k_no, k.k_name, su.su_sname, k.date_from, k.date_to,com.name, dd_a.name" +
|
||||||
" ORDER BY k.date_from DESC, k.k_no DESC")
|
" ORDER BY k.date_from DESC, k.k_no DESC")
|
||||||
IPage<LngContractPurPageVo> queryPage(IPage<LngContractPageDto> page,@Param(Constants.WRAPPER) QueryWrapper<LngContractPur> queryWrapper);
|
IPage<LngContractPageVo> queryPage(IPage<LngContractPageDto> page,@Param(Constants.WRAPPER) QueryWrapper<LngContractPur> queryWrapper);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,6 @@ import com.github.yulichang.base.MPJBaseServiceImpl;
|
|||||||
import com.xjrsoft.common.page.ConventPage;
|
import com.xjrsoft.common.page.ConventPage;
|
||||||
import com.xjrsoft.common.page.PageOutput;
|
import com.xjrsoft.common.page.PageOutput;
|
||||||
import com.xjrsoft.module.contract.dto.LngContractPageDto;
|
import com.xjrsoft.module.contract.dto.LngContractPageDto;
|
||||||
import com.xjrsoft.module.contract.entity.LngContract;
|
|
||||||
import com.xjrsoft.module.contract.entity.LngContractPur;
|
import com.xjrsoft.module.contract.entity.LngContractPur;
|
||||||
import com.xjrsoft.module.contract.entity.LngContractPurPngPoint;
|
import com.xjrsoft.module.contract.entity.LngContractPurPngPoint;
|
||||||
import com.xjrsoft.module.contract.entity.LngContractPurPngPointSales;
|
import com.xjrsoft.module.contract.entity.LngContractPurPngPointSales;
|
||||||
@ -20,10 +19,7 @@ import com.xjrsoft.module.contract.mapper.LngContractPurMapper;
|
|||||||
import com.xjrsoft.module.contract.mapper.LngContractPurPngPointSalesMapper;
|
import com.xjrsoft.module.contract.mapper.LngContractPurPngPointSalesMapper;
|
||||||
import com.xjrsoft.module.contract.service.IContractPurPngService;
|
import com.xjrsoft.module.contract.service.IContractPurPngService;
|
||||||
import com.xjrsoft.module.contract.vo.LngContractPageVo;
|
import com.xjrsoft.module.contract.vo.LngContractPageVo;
|
||||||
import com.xjrsoft.module.contract.vo.LngContractPurPageVo;
|
|
||||||
import com.xjrsoft.module.contract.vo.LngContractPurPngPointVo;
|
|
||||||
import com.xjrsoft.module.contract.vo.LngContractPurVo;
|
import com.xjrsoft.module.contract.vo.LngContractPurVo;
|
||||||
import com.xjrsoft.module.sales.entity.LngCustomer;
|
|
||||||
import com.xjrsoft.module.system.client.IFileClient;
|
import com.xjrsoft.module.system.client.IFileClient;
|
||||||
import com.xjrsoft.module.system.vo.LngFileUploadVo;
|
import com.xjrsoft.module.system.vo.LngFileUploadVo;
|
||||||
|
|
||||||
@ -54,7 +50,7 @@ public class ContractPurPngServiceImpl extends MPJBaseServiceImpl<LngContractPur
|
|||||||
.like("k.k_name", dto.getKName())
|
.like("k.k_name", dto.getKName())
|
||||||
)
|
)
|
||||||
.like(StringUtils.isNotBlank(dto.getCpName()), "su.su_sname", dto.getCpName());
|
.like(StringUtils.isNotBlank(dto.getCpName()), "su.su_sname", dto.getCpName());
|
||||||
IPage<LngContractPurPageVo> page = this.baseMapper.queryPage(ConventPage.getPage(dto), queryWrapper);
|
IPage<LngContractPageVo> page = this.baseMapper.queryPage(ConventPage.getPage(dto), queryWrapper);
|
||||||
PageOutput<LngContractPageVo> pageOutput = ConventPage.getPageOutput(page, LngContractPageVo.class);
|
PageOutput<LngContractPageVo> pageOutput = ConventPage.getPageOutput(page, LngContractPageVo.class);
|
||||||
return pageOutput;
|
return pageOutput;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user