Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
platform
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
王琮
platform
Commits
92cf9193
Commit
92cf9193
authored
Jul 12, 2023
by
王国存
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
b2496618
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
QuestionnaireCtrl.java
src/main/java/com/tiptimes/ctrl/QuestionnaireCtrl.java
+1
-6
No files found.
src/main/java/com/tiptimes/ctrl/QuestionnaireCtrl.java
View file @
92cf9193
...
...
@@ -3,21 +3,17 @@ package com.tiptimes.ctrl;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.tiptimes.model.*
;
import
com.tiptimes.model.YearId
;
import
com.tiptimes.service.FileService
;
import
com.tiptimes.service.QuestionnaireService
;
import
com.tiptimes.util.*
;
import
org.apache.commons.io.FileUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpSession
;
import
java.io.ByteArrayOutputStream
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
...
...
@@ -114,10 +110,10 @@ public class QuestionnaireCtrl {
if
(
record
.
getReviews
()
!=
null
)
{
//1.通过记录id删除原有备注
this
.
questionnaireService
.
delView
(
record
.
getReviews
().
get
(
0
).
getRecordId
(),
record
.
getReviews
().
get
(
0
).
getQuestionsId
());
//2.添加新的备注
result
=
this
.
questionnaireService
.
insertReview
(
record
.
getReviews
(),
record
.
getReviews
().
get
(
0
).
getRecordId
());
//更新t_answer表里的分数字段,用户绩效统计使用
Answer
answer
=
new
Answer
();
answer
.
setScore
(
record
.
getReviews
().
get
(
0
).
getScore
());
...
...
@@ -243,7 +239,6 @@ public class QuestionnaireCtrl {
map_temp_i
.
put
(
"createBy"
,
educationQuestionnaireInformation_list_i
.
getCreateBy
());
// map_temp_i.put("createTime" ,educationQuestionnaireInformation_list_i.getCreateTime());
if
(
educationQuestionnaireInformation_list_i
.
getWritePeople
().
equals
(
""
))
{
map_temp_i
.
put
(
"writePeople"
,
"暂无"
);
...
...
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