Commit b5bc504f authored by hubaoshan's avatar hubaoshan

1

parent 1d3a3636
...@@ -3,16 +3,7 @@ package org.rcisoft.bus.bpnsypn.entity; ...@@ -3,16 +3,7 @@ package org.rcisoft.bus.bpnsypn.entity;
import cn.afterturn.easypoi.excel.annotation.Excel; import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*; import lombok.Data;
import cn.afterturn.easypoi.excel.annotation.Excel;
import org.rcisoft.core.entity.CyIdEntity;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import com.baomidou.mybatisplus.annotation.TableName;
import org.rcisoft.core.entity.CyIdIncreEntity; import org.rcisoft.core.entity.CyIdIncreEntity;
/** /**
...@@ -40,6 +31,17 @@ public class BPnSypn extends CyIdIncreEntity<BPnSypn> { ...@@ -40,6 +31,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;
/** /**
* 月度信息pn查询 * 月度信息pn查询
* **/ * **/
......
...@@ -160,9 +160,9 @@ spring: ...@@ -160,9 +160,9 @@ spring:
#---------SQL SERVER------------- #---------SQL SERVER-------------
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://${cy_db.ip}:${cy_db.port};DatabaseName=${cy_db.db};encrypt=false url: jdbc:sqlserver://106.3.99.36:20002;DatabaseName=dbo;encrypt=false
username: ${cy_db.username} username: sa
password: ${cy_db.password} password: zdwd519@zdw
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
hikari: hikari:
minimum-idle: 50 minimum-idle: 50
......
...@@ -12,6 +12,11 @@ ...@@ -12,6 +12,11 @@
<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">
...@@ -32,6 +37,19 @@ ...@@ -32,6 +37,19 @@
<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">
...@@ -47,6 +65,19 @@ ...@@ -47,6 +65,19 @@
<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