Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dataC_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高宇
dataC_api
Commits
7f927d06
Commit
7f927d06
authored
Jun 12, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加 cust_currency
parent
b5bc504f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
BCustomer.java
...main/java/org/rcisoft/bus/bcustomer/entity/BCustomer.java
+3
-10
BCustomerMapper.xml
...resources/mapper/bus/bcustomer/mapper/BCustomerMapper.xml
+7
-0
No files found.
src/main/java/org/rcisoft/bus/bcustomer/entity/BCustomer.java
View file @
7f927d06
...
@@ -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
;
}
}
src/main/resources/mapper/bus/bcustomer/mapper/BCustomerMapper.xml
View file @
7f927d06
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment