Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
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
Administrator
dsk-cr20g
Commits
762995af
Commit
762995af
authored
May 22, 2023
by
lixiaolei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
submit
parent
233d6f0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletion
+37
-1
BusinessInfo.java
.../java/com/dsk/common/core/domain/entity/BusinessInfo.java
+26
-0
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+11
-1
No files found.
dsk-common/src/main/java/com/dsk/common/core/domain/entity/BusinessInfo.java
View file @
762995af
...
...
@@ -110,6 +110,30 @@ public class BusinessInfo extends BaseEntity
@Excel
(
name
=
"0 仅自己可见,1 他人可见"
)
private
Integer
isPrivate
;
/** 客户id */
@Excel
(
name
=
"客户id"
)
private
String
customerId
;
/** 项目状态 */
@Excel
(
name
=
"项目状态"
)
private
Integer
status
;
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
String
getCustomerId
()
{
return
customerId
;
}
public
void
setCustomerId
(
String
customerId
)
{
this
.
customerId
=
customerId
;
}
public
Integer
getUserId
()
{
return
userId
;
}
...
...
@@ -334,6 +358,8 @@ public class BusinessInfo extends BaseEntity
.
append
(
"isPrivate"
,
getIsPrivate
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
append
(
"customerId"
,
getCustomerId
())
.
append
(
"status"
,
getStatus
())
.
toString
();
}
}
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
762995af
...
...
@@ -28,6 +28,8 @@
<result
property=
"isPrivate"
column=
"is_private"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"customerId"
column=
"customer_id"
/>
</resultMap>
<sql
id=
"selectBusinessInfoVo"
>
...
...
@@ -53,7 +55,9 @@
team,
is_private,
create_time,
update_time
update_time,
status,
customer_id
from business_info
</sql>
...
...
@@ -158,6 +162,8 @@
<if
test=
"isPrivate != null"
>
is_private,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"customerId != null"
>
customer_id,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"projectName != null"
>
#{projectName},
</if>
...
...
@@ -182,6 +188,8 @@
<if
test=
"isPrivate != null"
>
#{isPrivate},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
<if
test=
"status != null"
>
#{status},
</if>
<if
test=
"customerId != null"
>
#{customerId},
</if>
</trim>
</insert>
...
...
@@ -210,6 +218,8 @@
<if
test=
"isPrivate != null"
>
is_private = #{isPrivate},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
<if
test=
"status != null"
>
status = #{status},
</if>
<if
test=
"customerId != null"
>
customer_id = #{customerId},
</if>
</trim>
where id = #{id}
</update>
...
...
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