Commit 7f927d06 authored by hubaoshan's avatar hubaoshan

加 cust_currency

parent b5bc504f
...@@ -3,16 +3,7 @@ package org.rcisoft.bus.bcustomer.entity; ...@@ -3,16 +3,7 @@ package org.rcisoft.bus.bcustomer.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;
/** /**
...@@ -206,6 +197,8 @@ public class BCustomer extends CyIdIncreEntity<BCustomer> { ...@@ -206,6 +197,8 @@ public class BCustomer extends CyIdIncreEntity<BCustomer> {
@Excel(name = "custGc", orderNum = "21", width = 20) @Excel(name = "custGc", orderNum = "21", width = 20)
private String custGc; private String custGc;
@Excel(name = "custCurrency", orderNum = "22", width = 20)
private String custCurrency;
} }
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<result column="cust_yj2" jdbcType="VARCHAR" property="custYj2"/> <result column="cust_yj2" jdbcType="VARCHAR" property="custYj2"/>
<result column="cust_yj3" jdbcType="VARCHAR" property="custYj3"/> <result column="cust_yj3" jdbcType="VARCHAR" property="custYj3"/>
<result column="cust_gc" jdbcType="VARCHAR" property="custGc"/> <result column="cust_gc" jdbcType="VARCHAR" property="custGc"/>
<result column="cust_currency" jdbcType="VARCHAR" property="custCurrency"/>
</resultMap> </resultMap>
<!--<cache type="${corePackag!}.util.RedisCache"/>--> <!--<cache type="${corePackag!}.util.RedisCache"/>-->
...@@ -112,6 +113,9 @@ ...@@ -112,6 +113,9 @@
<if test="entity.custGc !=null and entity.custGc != ''"> <if test="entity.custGc !=null and entity.custGc != ''">
and cust_gc like concat('%',#{entity.custGc},'%') and cust_gc like concat('%',#{entity.custGc},'%')
</if> </if>
<if test="entity.custCurrency !=null and entity.custCurrency != ''">
and cust_currency like concat('%',#{entity.custCurrency},'%')
</if>
</select> </select>
<select id="queryBCustomersPaged" resultMap="BaseResultMap"> <select id="queryBCustomersPaged" resultMap="BaseResultMap">
...@@ -187,6 +191,9 @@ ...@@ -187,6 +191,9 @@
<if test="entity.custGc !=null and entity.custGc != ''"> <if test="entity.custGc !=null and entity.custGc != ''">
and cust_gc like concat('%',#{entity.custGc},'%') and cust_gc like concat('%',#{entity.custGc},'%')
</if> </if>
<if test="entity.custCurrency !=null and entity.custCurrency != ''">
and cust_currency like concat('%',#{entity.custCurrency},'%')
</if>
</select> </select>
<select id="queryNumberSomeCode" resultType="java.lang.Integer"> <select id="queryNumberSomeCode" 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