Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
c8b09fed
Commit
c8b09fed
authored
Sep 05, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移动端新增获取不到id信息
parent
93968561
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ServiceHGKC008.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC008.java
+2
-3
HGKC008.xml
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC008.xml
+3
-0
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC008.java
View file @
c8b09fed
...
@@ -109,9 +109,8 @@ public class ServiceHGKC008 extends ServiceBase {
...
@@ -109,9 +109,8 @@ public class ServiceHGKC008 extends ServiceBase {
hgkc008
.
setApplyCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
RECEIVE_CODE
));
hgkc008
.
setApplyCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
RECEIVE_CODE
));
hgkc008
.
setStatus
(
HGConstant
.
ProductStatus
.
WTJ
);
hgkc008
.
setStatus
(
HGConstant
.
ProductStatus
.
WTJ
);
DaoUtils
.
insert
(
HGKC008
.
INSERT
,
hgkc008
);
DaoUtils
.
insert
(
HGKC008
.
INSERT
,
hgkc008
);
//移动端新增需要获取对象id信息
HGKC008
queryKC008
=
HGKCTools
.
HgKc008
.
getByApplyCode
(
hgkc008
.
getApplyCode
());
EiInfoUtils
.
addBlock
(
inInfo
,
"entity"
,
hgkc008
,
HGKC008
.
class
);
EiInfoUtils
.
addBlock
(
inInfo
,
"entity"
,
queryKC008
,
HGKC008
.
class
);
}
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"保存成功!"
);
inInfo
.
setMsg
(
"保存成功!"
);
...
...
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC008.xml
View file @
c8b09fed
...
@@ -131,6 +131,9 @@
...
@@ -131,6 +131,9 @@
RECEIVE_TYPE
<!-- 领料单类型 0:正常,1:退库 -->
RECEIVE_TYPE
<!-- 领料单类型 0:正常,1:退库 -->
)
)
VALUES (#id#,#projCode#, #projName#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #receiptDate#, #applyCode#, #whCode#, #whName#, #status#, #receiveType#)
VALUES (#id#,#projCode#, #projName#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #receiptDate#, #applyCode#, #whCode#, #whName#, #status#, #receiveType#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGKC008
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
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