Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
4bd8413f
Commit
4bd8413f
authored
Jun 04, 2020
by
tangzhaoqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效自测、优化、修复bug
parent
b762f136
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
4 deletions
+37
-4
src/main/java/cn/timer/api/controller/LoginController.java
+21
-0
src/main/java/cn/timer/api/controller/jxgl/JxglController.java
+0
-0
src/main/java/cn/timer/api/controller/jxgl/service/JxglService.java
+5
-0
src/main/java/cn/timer/api/controller/jxgl/service/JxglServiceImpl.java
+5
-0
src/main/resources/mapping/jxgl/JxglAppraisalMapper.xml
+3
-1
src/main/resources/mapping/jxgl/JxglPerformanceAppraisalMapper.xml
+3
-3
No files found.
src/main/java/cn/timer/api/controller/LoginController.java
View file @
4bd8413f
...
...
@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.PathVariable;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.alibaba.fastjson.JSONObject
;
...
...
@@ -433,6 +434,26 @@ public class LoginController {
return
ResultUtil
.
error
(
"修改手机号/用户名失败"
);
}
/**
* 是否有账号
*
* @return
*/
@GetMapping
(
value
=
"/user"
)
@ApiOperation
(
value
=
"5.是否有账号"
,
httpMethod
=
"GET"
,
notes
=
"是否有账号"
)
@ApiOperationSupport
(
order
=
5
)
public
Result
<
String
>
updatephone
(
@CurrentUser
UserBean
userBean
,
@RequestParam
String
phone
)
{
QyzxEmpLogin
login
=
new
LambdaQueryChainWrapper
<
QyzxEmpLogin
>(
qyzxEmpLoginMapper
)
.
eq
(!
StrUtil
.
hasBlank
(
phone
),
QyzxEmpLogin:
:
getPhone
,
phone
).
one
();
if
(
login
==
null
)
{
return
ResultUtil
.
success
(
"0"
);
}
return
ResultUtil
.
success
(
"1"
);
}
@Autowired
SpmkServiceImpl
SpmkService
;
...
...
src/main/java/cn/timer/api/controller/jxgl/JxglController.java
View file @
4bd8413f
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/controller/jxgl/service/JxglService.java
0 → 100644
View file @
4bd8413f
package
cn
.
timer
.
api
.
controller
.
jxgl
.
service
;
public
interface
JxglService
{
}
src/main/java/cn/timer/api/controller/jxgl/service/JxglServiceImpl.java
0 → 100644
View file @
4bd8413f
package
cn
.
timer
.
api
.
controller
.
jxgl
.
service
;
public
class
JxglServiceImpl
implements
JxglService
{
}
src/main/resources/mapping/jxgl/JxglAppraisalMapper.xml
View file @
4bd8413f
...
...
@@ -138,7 +138,7 @@
b.id JxglProcessNode_id,
b.appraisal_id JxglProcessNode_appraisal_id,
b.executor_id JxglProcessNode_executor_id,
b.executor_name JxglProcessNode_executor_name,
<!-- b.executor_name JxglProcessNode_executor_name, -->
b.execute_type JxglProcessNode_execute_type,
b.process_type JxglProcessNode_process_type,
b.name JxglProcessNode_name,
...
...
@@ -314,6 +314,7 @@
SELECT
<include
refid=
"Base_Column_List_a"
/>
,
<include
refid=
"Base_Column_List_Alias_b"
/>
,
i.name JxglProcessNode_executor_name,
<include
refid=
"Base_Column_List_Alias_c"
/>
,
<include
refid=
"Base_Column_List_Alias_d"
/>
,
<include
refid=
"Base_Column_List_Alias_e"
/>
,
...
...
@@ -329,6 +330,7 @@
LEFT JOIN jxgl_appraisal_indicators_assessment f ON e.id = f.appraisal_indicators_id
LEFT JOIN jxgl_appraisal_item g ON e.id = g.appraisal_indicators_id
LEFT JOIN jxgl_performance_appraisal h ON a.performance_appraisal_id = h.id
LEFT JOIN yggl_main_emp i ON b.executor_id = i.emp_num AND i.org_code = #{orgCode}
WHERE a.id = #{id}
ORDER BY c.id , d.id
</select>
...
...
src/main/resources/mapping/jxgl/JxglPerformanceAppraisalMapper.xml
View file @
4bd8413f
...
...
@@ -185,15 +185,15 @@
<select
id=
"selectListEmpByQuery"
resultMap=
"BaseResultMap_ALl"
>
SELECT
a.name,a.appraisal_start_time,a.appraisal_end_time,
b.sts b_sts,
b.
id b_id, b.
sts b_sts,
(SELECT name FROM yggl_main_emp WHERE emp_num = d.executor_id AND org_code = a.org_code) as b_executor_name,
c.comprehensive_score c_comprehensive_score,
c.level c_level
FROM jxgl_performance_appraisal a
LEFT JOIN jxgl_appraisal b ON b.performance_appraisal_id = a.id
LEFT JOIN jxgl_appraisal_assessment c ON b.id = c.appraisal_id
LEFT JOIN jxgl_appraisal_assessment c ON b.id = c.appraisal_id
AND c.type = 1
LEFT JOIN jxgl_process_node d ON b.id = d.appraisal_id AND d.sts = 1
WHERE a.org_code = #{param.orgCode} AND b.emp_num = #{param.id}
AND c.type = 1
WHERE a.org_code = #{param.orgCode} AND b.emp_num = #{param.id}
</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