Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-api-report
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
雷紫添
xzxt-api-report
Commits
a0b39de8
Commit
a0b39de8
authored
Sep 03, 2019
by
雷紫添
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉XXZJBH
parent
c7019e3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
18 deletions
+8
-18
src/main/java/com/founder/model/Rycj.java
+1
-7
src/main/java/com/founder/service/impl/RycjServiceImpl.java
+5
-4
src/main/resources/mybatis/mapper/Rycj.xml
+2
-7
No files found.
src/main/java/com/founder/model/Rycj.java
View file @
a0b39de8
...
...
@@ -4,7 +4,7 @@ import java.util.Date;
public
class
Rycj
{
private
String
xxzjbh
;
private
String
rycj_bt
;
private
String
rycj_dzwjbt
;
private
String
rycj_dzwjgs
;
...
...
@@ -44,13 +44,7 @@ public class Rycj {
this
.
zxjgdm
=
zxjgdm
;
}
public
String
getXxzjbh
()
{
return
xxzjbh
;
}
public
void
setXxzjbh
(
String
xxzjbh
)
{
this
.
xxzjbh
=
xxzjbh
;
}
public
String
getRycj_bt
()
{
return
rycj_bt
;
...
...
src/main/java/com/founder/service/impl/RycjServiceImpl.java
View file @
a0b39de8
...
...
@@ -22,8 +22,8 @@ import java.util.Date;
public
class
RycjServiceImpl
implements
RycjService
{
@Autowired
private
RycjDao
rycjDao
;
@Autowired
private
AutoSeqService
autoSeqService
;
/*
@Autowired
private AutoSeqService autoSeqService;
*/
@Value
(
value
=
"${ftpfilePath}"
)
private
String
ftpfilePath
;
...
...
@@ -44,9 +44,10 @@ public class RycjServiceImpl implements RycjService {
Rycj
rycj
=
new
Rycj
();
SimpleDateFormat
sf
=
new
SimpleDateFormat
(
"yyyyMM"
);
String
dateString
=
sf
.
format
(
new
Date
());
rycj
.
setXxzjbh
(
autoSeqService
.
xxzjbhFnVal
(
"TB_ST_RYCJ"
,
jccj
.
getUser_dept
()));
//
rycj.setXxzjbh( autoSeqService.xxzjbhFnVal("TB_ST_RYCJ",jccj.getUser_dept()));
rycj
.
setRycj_dzwjgs
(
".zip"
);
rycj
.
setRycj_dzwjwz
(
ftpfilePath
+
"/"
+
dateString
+
"/"
+
rycj
.
getXxzjbh
()+
rycj
.
getRycj_dzwjgs
());
rycj
.
setRycj_dzwjwz
(
ftpfilePath
+
"/"
+
dateString
+
"/"
+
rycj
.
getTaskid
()+
rycj
.
getRycj_dzwjgs
());
rycj
.
setRycj_bt
(
dateString
);
rycj
.
setRycj_jlsj
(
new
Date
());
rycj
.
setUser_id
(
jccj
.
getUser_id
());
rycj
.
setUser_dept
(
jccj
.
getUser_dept
());
...
...
src/main/resources/mybatis/mapper/Rycj.xml
View file @
a0b39de8
...
...
@@ -5,7 +5,7 @@
<insert
id=
"insertRycj"
parameterType=
"com.founder.model.Rycj"
>
INSERT INTO TB_ST_RYCJ (
XXZJBH,
RYCJ_BT,
RYCJ_DZWJBT,
RYCJ_DZWJGS,
...
...
@@ -22,12 +22,7 @@
ZXJGDM
)VALUES (
<if
test=
"xxzjbh != null"
>
#{xxzjbh},
</if>
<if
test=
"xxzjbh == null"
>
NULL ,
</if>
<if
test=
"rycj_bt != null"
>
#{rycj_bt},
</if>
...
...
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