Commit 8cecd082 authored by hubaoshan's avatar hubaoshan

1

parent 2634f38a
...@@ -43,143 +43,17 @@ public class BPnSypn extends CyIdIncreEntity<BPnSypn> { ...@@ -43,143 +43,17 @@ public class BPnSypn extends CyIdIncreEntity<BPnSypn> {
*/ */
@Excel(name = "sypn", orderNum = "1", width = 20) @Excel(name = "sypn", orderNum = "1", width = 20)
private String sypn; private String sypn;
@Excel(name = "jlpm", orderNum = "2", width = 20)
private String jlpm;
@Excel(name = "sizes", orderNum = "3", width = 20)
private String sizes;
@Excel(name = "product", orderNum = "4", width = 20)
private String product;
@Excel(name = "pn2", orderNum = "5", width = 20)
private String pn2;
} }
// private Integer businesssId;
//
//
// private String flag;
//
// private String createBy;
//
// private Date createDate;
//
// private String updateBy;
//
// private Date updateDate;
//
// private String remarks;
//
// private String delFlag;
//
// public BPnSypn() {
// }
//
// public BPnSypn(Integer businesssId, String pn, String sypn, String flag, String createBy, Date createDate, String updateBy, Date updateDate, String remarks, String delFlag) {
// this.businesssId = businesssId;
// this.pn = pn;
// this.sypn = sypn;
// this.flag = flag;
// this.createBy = createBy;
// this.createDate = createDate;
// this.updateBy = updateBy;
// this.updateDate = updateDate;
// this.remarks = remarks;
// this.delFlag = delFlag;
// }
//
// @Override
// public String toString() {
// return "BPnSypn{" +
// "businesssId=" + businesssId +
// ", pn='" + pn + '\'' +
// ", sypn='" + sypn + '\'' +
// ", flag='" + flag + '\'' +
// ", createBy='" + createBy + '\'' +
// ", createDate=" + createDate +
// ", updateBy='" + updateBy + '\'' +
// ", updateDate=" + updateDate +
// ", remarks='" + remarks + '\'' +
// ", delFlag='" + delFlag + '\'' +
// '}';
// }
//
// public Integer getBusinesssId() {
// return businesssId;
// }
//
// public void setBusinesssId(Integer businesssId) {
// this.businesssId = businesssId;
// }
//
// public String getPn() {
// return pn;
// }
//
// public void setPn(String pn) {
// this.pn = pn;
// }
//
// public String getSypn() {
// return sypn;
// }
//
// public void setSypn(String sypn) {
// this.sypn = sypn;
// }
//
// public String getFlag() {
// return flag;
// }
//
// public void setFlag(String flag) {
// this.flag = flag;
// }
//
// public String getCreateBy() {
// return createBy;
// }
//
// public void setCreateBy(String createBy) {
// this.createBy = createBy;
// }
//
// public Date getCreateDate() {
// return createDate;
// }
//
// public void setCreateDate(Date createDate) {
// this.createDate = createDate;
// }
//
// public String getUpdateBy() {
// return updateBy;
// }
//
// public void setUpdateBy(String updateBy) {
// this.updateBy = updateBy;
// }
//
// public Date getUpdateDate() {
// return updateDate;
// }
//
// public void setUpdateDate(Date updateDate) {
// this.updateDate = updateDate;
// }
//
// public String getRemarks() {
// return remarks;
// }
//
// public void setRemarks(String remarks) {
// this.remarks = remarks;
// }
//
// public String getDelFlag() {
// return delFlag;
// }
//
// public void setDelFlag(String delFlag) {
// this.delFlag = delFlag;
// }
//
// public void setDeleted() {
// }
//}
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/>
<result column="remarks" jdbcType="VARCHAR" property="remarks"/> <result column="remarks" jdbcType="VARCHAR" property="remarks"/>
<result column="del_flag" jdbcType="NCHAR" property="delFlag"/> <result column="del_flag" jdbcType="NCHAR" property="delFlag"/>
<result column="jlpm" jdbcType="VARCHAR" property="jlpm"/>
<result column="sizes" jdbcType="VARCHAR" property="sizes"/>
<result column="product" jdbcType="VARCHAR" property="product"/>
<result column="pn2" jdbcType="VARCHAR" property="pn2"/>
</resultMap> </resultMap>
<select id="queryBPnSypns" resultMap="BaseResultMap"> <select id="queryBPnSypns" resultMap="BaseResultMap">
...@@ -29,6 +33,18 @@ ...@@ -29,6 +33,18 @@
<if test="entity.sypn !=null and entity.sypn != '' "> <if test="entity.sypn !=null and entity.sypn != '' ">
and sypn like concat('%',#{entity.sypn},'%') and sypn like concat('%',#{entity.sypn},'%')
</if> </if>
<if test="entity.jlpm !=null and entity.jlpm != '' ">
and jlpm like concat('%',#{entity.jlpm},'%')
</if>
<if test="entity.sizes !=null and entity.sizes != '' ">
and sizes like concat('%',#{entity.sizes},'%')
</if>
<if test="entity.product !=null and entity.product != '' ">
and product like concat('%',#{entity.product},'%')
</if>
<if test="entity.pn2 !=null and entity.pn2 != '' ">
and pn2 like concat('%',#{entity.pn2},'%')
</if>
</select> </select>
<select id="queryBPnSypnsPaged" resultMap="BaseResultMap"> <select id="queryBPnSypnsPaged" resultMap="BaseResultMap">
...@@ -44,6 +60,18 @@ ...@@ -44,6 +60,18 @@
<if test="entity.sypn !=null and entity.sypn != '' "> <if test="entity.sypn !=null and entity.sypn != '' ">
and sypn like concat('%',#{entity.sypn},'%') and sypn like concat('%',#{entity.sypn},'%')
</if> </if>
<if test="entity.jlpm !=null and entity.jlpm != '' ">
and jlpm like concat('%',#{entity.jlpm},'%')
</if>
<if test="entity.sizes !=null and entity.sizes != '' ">
and sizes like concat('%',#{entity.sizes},'%')
</if>
<if test="entity.product !=null and entity.product != '' ">
and product like concat('%',#{entity.product},'%')
</if>
<if test="entity.pn2 !=null and entity.pn2 != '' ">
and pn2 like concat('%',#{entity.pn2},'%')
</if>
</select> </select>
<select id="querySomePn" resultType="java.lang.Integer"> <select id="querySomePn" resultType="java.lang.Integer">
SELECT SELECT
......
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