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
8cecd082
Commit
8cecd082
authored
Jun 04, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2634f38a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
134 deletions
+36
-134
BPnSypn.java
src/main/java/org/rcisoft/bus/bpnsypn/entity/BPnSypn.java
+8
-134
BPnSypnMapper.xml
...ain/resources/mapper/bus/bpnsypn/mapper/BPnSypnMapper.xml
+28
-0
No files found.
src/main/java/org/rcisoft/bus/bpnsypn/entity/BPnSypn.java
View file @
8cecd082
...
...
@@ -43,143 +43,17 @@ public class BPnSypn extends CyIdIncreEntity<BPnSypn> {
*/
@Excel
(
name
=
"sypn"
,
orderNum
=
"1"
,
width
=
20
)
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() {
// }
//}
src/main/resources/mapper/bus/bpnsypn/mapper/BPnSypnMapper.xml
View file @
8cecd082
...
...
@@ -12,6 +12,10 @@
<result
column=
"update_date"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<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>
<select
id=
"queryBPnSypns"
resultMap=
"BaseResultMap"
>
...
...
@@ -29,6 +33,18 @@
<if
test=
"entity.sypn !=null and entity.sypn != '' "
>
and sypn like concat('%',#{entity.sypn},'%')
</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
id=
"queryBPnSypnsPaged"
resultMap=
"BaseResultMap"
>
...
...
@@ -44,6 +60,18 @@
<if
test=
"entity.sypn !=null and entity.sypn != '' "
>
and sypn like concat('%',#{entity.sypn},'%')
</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
id=
"querySomePn"
resultType=
"java.lang.Integer"
>
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