Commit a7c0d40e authored by hubaoshan's avatar hubaoshan

sizes

parent 9bc5bebf
......@@ -108,11 +108,11 @@ public class Jnsp7xtmDqsj extends CyIdIncreEntity {
/**
* @desc
* @column size
* @column sizes
* @default
*/
@Excel(name = "size", orderNum = "10", width = 20)
private String size;
@Excel(name = "sizes", orderNum = "10", width = 20)
private String sizes;
/**
* @desc
......@@ -409,7 +409,7 @@ public class Jnsp7xtmDqsj extends CyIdIncreEntity {
else
jnsp7xtmDqsj.setFactory("CC2");
}
jnsp7xtmDqsj.setSize(jnsp7xtmVo.getJlpm());
jnsp7xtmDqsj.setSizes(jnsp7xtmVo.getJlpm());
jnsp7xtmDqsj.setPn(jnsp7xtmVo.getPn());
jnsp7xtmDqsj.setSypn(jnsp7xtmVo.getSypn());
jnsp7xtmDqsj.setPo(new BigDecimal(jnsp7xtmVo.getZzc()));
......
......@@ -13,7 +13,7 @@
<result column="route" jdbcType="VARCHAR" property="route"/>
<result column="pc" jdbcType="VARCHAR" property="pc"/>
<result column="factory" jdbcType="VARCHAR" property="factory"/>
<result column="size" jdbcType="VARCHAR" property="size"/>
<result column="sizes" jdbcType="VARCHAR" property="sizes"/>
<result column="pn" jdbcType="VARCHAR" property="pn"/>
<result column="po" jdbcType="DECIMAL" property="po"/>
<result column="fc" jdbcType="DECIMAL" property="fc"/>
......@@ -112,9 +112,9 @@
<insert id="batchAddJnsp7xtmDqsj" parameterType="java.util.List">
INSERT into jnsp7xtm_dqsj(term,half,quarter,month,cc,cn,io,route,pc,factory,size,pn,po,fc,qty,up,currency,rate,amt,cust_group,cust_group2,cust_rt1,cust_io,cust_newpic,cust_group1,cust_rt2,cust_rout,cust_addr,cust_g0,cust_g20,cust_g30,cust_g201,cust_save,cust_stype,cust_g1,cust_yj,cust_yj2,cust_yj3,cust_gc,sypn,flag,create_date,update_date,remarks,del_flag,year,term1,pn2,product,dqsj_version) values
INSERT into jnsp7xtm_dqsj(term,half,quarter,month,cc,cn,io,route,pc,factory,sizes,pn,po,fc,qty,up,currency,rate,amt,cust_group,cust_group2,cust_rt1,cust_io,cust_newpic,cust_group1,cust_rt2,cust_rout,cust_addr,cust_g0,cust_g20,cust_g30,cust_g201,cust_save,cust_stype,cust_g1,cust_yj,cust_yj2,cust_yj3,cust_gc,sypn,flag,create_date,update_date,remarks,del_flag,year,term1,pn2,product,dqsj_version) values
<foreach collection="list" item="item" separator=",">
(#{item.term}, #{item.half},#{item.quarter},#{item.month},#{item.cc},#{item.cn},#{item.io},#{item.route},#{item.pc},#{item.factory},#{item.size},#{item.pn},#{item.po},#{item.fc},#{item.qty},#{item.up},#{item.currency},#{item.rate},#{item.amt},#{item.custGroup},#{item.custGroup2},#{item.custRt1},#{item.custIo},#{item.custNewpic},#{item.custGroup1},#{item.custRt2},#{item.custRout},#{item.custAddr},#{item.custG0},#{item.custG20},#{item.custG30},#{item.custG201},#{item.custSave},#{item.custStype},#{item.custG1},#{item.custYj},#{item.custYj2},#{item.custYj3},#{item.custGc},#{item.sypn},#{item.flag},#{item.createDate},#{item.updateDate},#{item.remarks},#{item.delFlag},#{item.year},#{item.pn2},#{item.term1},#{item.product},#{item.dqsjVersion})
(#{item.term}, #{item.half},#{item.quarter},#{item.month},#{item.cc},#{item.cn},#{item.io},#{item.route},#{item.pc},#{item.factory},#{item.sizes},#{item.pn},#{item.po},#{item.fc},#{item.qty},#{item.up},#{item.currency},#{item.rate},#{item.amt},#{item.custGroup},#{item.custGroup2},#{item.custRt1},#{item.custIo},#{item.custNewpic},#{item.custGroup1},#{item.custRt2},#{item.custRout},#{item.custAddr},#{item.custG0},#{item.custG20},#{item.custG30},#{item.custG201},#{item.custSave},#{item.custStype},#{item.custG1},#{item.custYj},#{item.custYj2},#{item.custYj3},#{item.custGc},#{item.sypn},#{item.flag},#{item.createDate},#{item.updateDate},#{item.remarks},#{item.delFlag},#{item.year},#{item.pn2},#{item.term1},#{item.product},#{item.dqsjVersion})
</foreach>
</insert>
......@@ -156,8 +156,8 @@
<if test="entity.factory !=null and entity.factory != '' ">
and factory like concat('%',#{entity.factory},'%')
</if>
<if test="entity.size !=null and entity.size != '' ">
and size like concat('%',#{entity.size},'%')
<if test="entity.sizes !=null and entity.sizes != '' ">
and sizes like concat('%',#{entity.sizes},'%')
</if>
<if test="entity.pn !=null and entity.pn != '' ">
and pn like concat('%',#{entity.pn},'%')
......@@ -301,8 +301,8 @@
<if test="entity.factory !=null and entity.factory != '' ">
and factory like concat('%',#{entity.factory},'%')
</if>
<if test="entity.size !=null and entity.size != '' ">
and size like concat('%',#{entity.size},'%')
<if test="entity.sizes !=null and entity.sizes != '' ">
and sizes like concat('%',#{entity.sizes},'%')
</if>
<if test="entity.pn !=null and entity.pn != '' ">
and pn like concat('%',#{entity.pn},'%')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment