Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
work_service
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
licc
work_service
Commits
94dd588d
Commit
94dd588d
authored
Jan 25, 2021
by
nie'hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改属性
parent
8f729687
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
WorkProjectMapper.xml
...gy-mapper/src/main/resources/mapper/WorkProjectMapper.xml
+3
-3
WorkProject.java
...del/src/main/java/cn/wisenergy/model/app/WorkProject.java
+2
-2
No files found.
wisenergy-mapper/src/main/resources/mapper/WorkProjectMapper.xml
View file @
94dd588d
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<!-- 通用查询映射结果 -->
<!-- 通用查询映射结果 -->
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.model.app.WorkProject"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.model.app.WorkProject"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"oa_project_
number"
property=
"oaProjectNumber
"
/>
<result
column=
"oa_project_
id"
property=
"oaProjectId
"
/>
<result
column=
"project_name"
property=
"projectName"
/>
<result
column=
"project_name"
property=
"projectName"
/>
<result
column=
"type"
property=
"type"
/>
<result
column=
"type"
property=
"type"
/>
<result
column=
"manager_id"
property=
"managerId"
/>
<result
column=
"manager_id"
property=
"managerId"
/>
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, oa_project_
number
, project_name, type, manager_id, manager_name, dept_id, work_time, cost_budget, is_conclusion,start_time,end_time, create_time, modify_time
id, oa_project_
id
, project_name, type, manager_id, manager_name, dept_id, work_time, cost_budget, is_conclusion,start_time,end_time, create_time, modify_time
</sql>
</sql>
<sql
id=
"table"
>
<sql
id=
"table"
>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<!--查询条件-->
<!--查询条件-->
<sql
id=
"criteria"
>
<sql
id=
"criteria"
>
<if
test=
"id != null"
>
and id = #{id}
</if>
<if
test=
"id != null"
>
and id = #{id}
</if>
<if
test=
"oaProject
Number != null"
>
and oa_project_number = #{oaProjectNumber
}
</if>
<if
test=
"oaProject
Id != null"
>
and oa_project_id = #{oaProjectId
}
</if>
<if
test=
"projectName != null"
>
and project_name = #{projectName}
</if>
<if
test=
"projectName != null"
>
and project_name = #{projectName}
</if>
<if
test=
"type != null"
>
and type =#{type}
</if>
<if
test=
"type != null"
>
and type =#{type}
</if>
<if
test=
"managerId != null"
>
and manager_id = #{managerId}
</if>
<if
test=
"managerId != null"
>
and manager_id = #{managerId}
</if>
...
...
wisenergy-model/src/main/java/cn/wisenergy/model/app/WorkProject.java
View file @
94dd588d
...
@@ -30,8 +30,8 @@ public class WorkProject implements Serializable {
...
@@ -30,8 +30,8 @@ public class WorkProject implements Serializable {
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
private
Integer
id
;
@ApiModelProperty
(
name
=
"oaProject
Number"
,
value
=
"
项目编号"
)
@ApiModelProperty
(
name
=
"oaProject
Id"
,
value
=
"OA中的
项目编号"
)
private
String
oaProject
Number
;
private
String
oaProject
Id
;
@ApiModelProperty
(
name
=
"projectName"
,
value
=
"项目名称"
)
@ApiModelProperty
(
name
=
"projectName"
,
value
=
"项目名称"
)
private
String
projectName
;
private
String
projectName
;
...
...
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