Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
foc_manage
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
首航-临时账号
foc_manage
Commits
8e248936
Commit
8e248936
authored
Nov 10, 2023
by
罗胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询货运航线编辑
parent
56a205a0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
VerifyDao.xml
resources/mappings/modules/airline/VerifyDao.xml
+3
-3
SystemService.java
src/com/ejweb/modules/sys/service/SystemService.java
+6
-0
web.xml
web/WEB-INF/web.xml
+7
-0
No files found.
resources/mappings/modules/airline/VerifyDao.xml
View file @
8e248936
...
...
@@ -141,11 +141,11 @@
a.id as verifId,
a.source,
CASE WHEN a.verif_type='01' OR a.verif_type='02'
OR a.verif_type='03' OR a.verif_type='04' OR a.verif_type='05'
OR a.verif_type='03' OR a.verif_type='04' OR a.verif_type='05'
or a.verif_type='11'
THEN b.id
ELSE a.id END id,
CASE WHEN a.verif_type='01' OR a.verif_type='02'
OR a.verif_type='03' OR a.verif_type='04' OR a.verif_type='05'
OR a.verif_type='03' OR a.verif_type='04' OR a.verif_type='05'
or a.verif_type='11'
THEN b.flight_no
ELSE a.flight_no
END flightNo,
...
...
@@ -161,7 +161,7 @@
ELSE tt.airport_name
END depIataName,
CASE WHEN a.verif_type='01' OR a.verif_type='02'
OR a.verif_type='03' OR a.verif_type='04' OR (a.verif_type='05' AND a.roundtrip_type!='01') OR a.verif_type='09'
OR a.verif_type='03' OR a.verif_type='04' OR (a.verif_type='05' AND a.roundtrip_type!='01') OR a.verif_type='09'
OR a.verif_type='11'
THEN CONCAT(p.city_name,b.depIata,'=',r.city_name,b.arrIata)
WHEN a.verif_type='05' AND a.roundtrip_type='01'
THEN CONCAT(p.city_name,b.depIata,'-',r.city_name,b.arrIata)
...
...
src/com/ejweb/modules/sys/service/SystemService.java
View file @
8e248936
...
...
@@ -243,7 +243,13 @@ public class SystemService extends BaseService implements InitializingBean {
String
plain
=
Encodes
.
unescapeHtml
(
plainPassword
);
byte
[]
salt
=
Encodes
.
decodeHex
(
password
.
substring
(
0
,
16
));
byte
[]
hashPassword
=
Digests
.
sha1
(
plain
.
getBytes
(),
salt
,
HASH_INTERATIONS
);
System
.
out
.
println
(
Encodes
.
encodeHex
(
hashPassword
));
return
password
.
equals
(
Encodes
.
encodeHex
(
salt
)
+
Encodes
.
encodeHex
(
hashPassword
));
}
public
static
void
main
(
String
[]
args
)
{
validatePassword
(
"1qaz@WSX"
,
"ed65746b6102624935053347cfa888ca119f1033458daf076ac9eeeb"
);
}
...
...
web/WEB-INF/web.xml
0 → 100644
View file @
8e248936
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version=
"4.0"
>
</web-app>
\ No newline at end of file
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