Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
首航-临时账号
api
Commits
5d944759
Commit
5d944759
authored
May 06, 2020
by
java-李谡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改条件评估论证bug
parent
682a68e2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
jdbc.properties
resources/jdbc.properties
+3
-5
VerifyFeedbackDao.xml
resources/mapper/modules/verify/VerifyFeedbackDao.xml
+4
-3
mybatis-config.xml
resources/mybatis-config.xml
+1
-1
VerifyFeedbackService.java
src/com/ejweb/modules/verify/service/VerifyFeedbackService.java
+1
-1
No files found.
resources/jdbc.properties
View file @
5d944759
#MySQL Database Config(The All Config Is Must)
db.table.prefix
=
foc_
jdbc.type
=
mysql
jdbc.driver.class
=
com.mysql.jdbc.Driver
#
jdbc.url=jdbc:mysql://106.75.105.96:5508/jd_foc?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
jdbc.url
=
jdbc:mysql://localhost:5508/jd_foc?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
jdbc.url
=
jdbc:mysql://106.75.105.96:5508/jd_foc?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
#
jdbc.url=jdbc:mysql://localhost:5508/jd_foc?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
jdbc.username
=
sms_develop
jdbc.password
=
Develop2018!@#
#\u521d\u59cb\u5316\u8fde\u63a5
#\u521d\u59cb\u5316\u8fde\u63a5
jdbc.initialSize
=
0
#\u8fde\u63a5\u6c60\u7684\u6700\u5927\u6d3b\u52a8\u4e2a\u6570
jdbc.maxActive
=
20
...
...
resources/mapper/modules/verify/VerifyFeedbackDao.xml
View file @
5d944759
...
...
@@ -190,7 +190,7 @@
<if
test=
"aircraftType != null and aircraftType != ''"
>
AND a.aircraft_type = #{aircraftType}
</if>
group by a.id
group by a.id
,depart_name
</select>
...
...
@@ -319,8 +319,8 @@
a.del_flag = #{DEL_FLAG_NORMAL}
AND a.verif_id = #{verifId}
AND f.depart_id = #{userDepartId}
-- AND f.feedback_status='00'
group by a.verif_id,f.depart_id
AND a.depart_id= #{departId}
--
group by a.verif_id,f.depart_id
</when>
<otherwise>
WHERE
...
...
@@ -372,6 +372,7 @@
left join foc_condition_feedback f on v.id=f.condition_id
where f.depart_id=#{userDepartId}
and v.verif_id=#{verifId}
AND v.depart_id= #{departId}
group by v.id
</when>
<otherwise>
...
...
resources/mybatis-config.xml
View file @
5d944759
...
...
@@ -37,6 +37,6 @@
<setting
name=
"jdbcTypeForNull"
value=
"NULL"
/>
<!--打印sql-->
<
!--<setting name="logImpl" value="STDOUT_LOGGING"/>--
>
<
setting
name=
"logImpl"
value=
"STDOUT_LOGGING"
/
>
</settings>
</configuration>
src/com/ejweb/modules/verify/service/VerifyFeedbackService.java
View file @
5d944759
...
...
@@ -243,7 +243,7 @@ public class VerifyFeedbackService extends BaseService<VerifyFeedbackDao> {
}
private
List
<
ConditionDetailData
>
getConditionDetailData
(
VerifyFeedbackDetailBean
verifyFeedbackBean
)
{
List
<
ConditionDetailData
>
conditions
=
dao
.
findByVerifyIdAndDepartId
(
verifyFeedbackBean
);
List
<
ConditionDetailData
>
conditions
=
dao
.
findByVerifyIdAndDepartId
(
verifyFeedbackBean
);
List
<
ConditionDetailData
>
conditionList
=
new
ArrayList
<>();
if
(!
CollectionUtils
.
isEmpty
(
conditions
))
{
for
(
ConditionDetailData
data
:
conditions
)
{
...
...
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