装箱单导出字段
This commit is contained in:
parent
c8aad62eb4
commit
c6602d6099
@ -79,12 +79,12 @@ public class ProductLevelController {
|
|||||||
//效验数据
|
//效验数据
|
||||||
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
|
||||||
|
|
||||||
//验证编码是否重名
|
// //验证编码是否重名
|
||||||
QueryWrapper<ProductLevel> wrapper1 = new QueryWrapper<>();
|
// QueryWrapper<ProductLevel> wrapper1 = new QueryWrapper<>();
|
||||||
wrapper1.eq(ProductLevel.CODE, dto.getCode());
|
// wrapper1.eq(ProductLevel.CODE, dto.getCode());
|
||||||
if(productLevelMapper.selectCount(wrapper1)!= 0){
|
// if(productLevelMapper.selectCount(wrapper1)!= 0){
|
||||||
return new Result().error(1,"编码重复");
|
// return new Result().error(1,"编码重复");
|
||||||
}
|
// }
|
||||||
//验证名称是否重名
|
//验证名称是否重名
|
||||||
QueryWrapper<ProductLevel> wrapper2 = new QueryWrapper<>();
|
QueryWrapper<ProductLevel> wrapper2 = new QueryWrapper<>();
|
||||||
wrapper2.eq(ProductLevel.PRODUCT_LEVEL, dto.getProductLevel());
|
wrapper2.eq(ProductLevel.PRODUCT_LEVEL, dto.getProductLevel());
|
||||||
|
@ -38,6 +38,14 @@ public class WoPackagingBoxSubstrateExcel {
|
|||||||
private Float actualPmpp;
|
private Float actualPmpp;
|
||||||
@Excel(name = "线体")
|
@Excel(name = "线体")
|
||||||
private Integer lineBody;
|
private Integer lineBody;
|
||||||
|
@Excel(name = "盖板")
|
||||||
|
private String coverName;
|
||||||
|
@Excel(name = "产品等级")
|
||||||
|
private String productGrade;
|
||||||
|
@Excel(name = "最大额定熔断电流")
|
||||||
|
private String maxFuseCurrent;
|
||||||
|
@Excel(name = "节数")
|
||||||
|
private String pitchNumber;
|
||||||
@Excel(name = "最近打印时间")
|
@Excel(name = "最近打印时间")
|
||||||
private String printTime1;
|
private String printTime1;
|
||||||
|
|
||||||
|
@ -26,6 +26,14 @@ public class WoPackagingBoxSubstrateManualExcel {
|
|||||||
private String powerLevel;
|
private String powerLevel;
|
||||||
@Excel(name = "线体")
|
@Excel(name = "线体")
|
||||||
private Integer lineBody;
|
private Integer lineBody;
|
||||||
|
@Excel(name = "盖板")
|
||||||
|
private String coverName;
|
||||||
|
@Excel(name = "产品等级")
|
||||||
|
private String productGrade;
|
||||||
|
@Excel(name = "最大额定熔断电流")
|
||||||
|
private String maxFuseCurrent;
|
||||||
|
@Excel(name = "节数")
|
||||||
|
private String pitchNumber;
|
||||||
@Excel(name = "最近打印时间")
|
@Excel(name = "最近打印时间")
|
||||||
private String printTime1;
|
private String printTime1;
|
||||||
|
|
||||||
|
@ -124,7 +124,8 @@
|
|||||||
|
|
||||||
<select id="substrateList" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO">
|
<select id="substrateList" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO">
|
||||||
select
|
select
|
||||||
twpb.CREATE_TIME as boxCreateTime,twpbs.*,twpb.PRINT_TIME as printTime
|
twpb.CREATE_TIME as boxCreateTime,twpbs.*,twpb.PRINT_TIME as printTime,
|
||||||
|
twpb.product_grade as productGrade, twpb.pitch_number as pitchNumber, twpb.max_fuse_current as maxFuseCurrent, twpb.cover_name as coverName
|
||||||
from t_wo_packaging_box_substrate twpbs
|
from t_wo_packaging_box_substrate twpbs
|
||||||
left join t_wo_packaging_box twpb on twpbs.PACKAGING_BOX_ID = twpb.BOX_NO
|
left join t_wo_packaging_box twpb on twpbs.PACKAGING_BOX_ID = twpb.BOX_NO
|
||||||
<where>
|
<where>
|
||||||
|
Loading…
Reference in New Issue
Block a user