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
c56d3dcd
Commit
c56d3dcd
authored
Sep 09, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-sx' of
http://git.pseer.com:8800/platform/hg-smart
into dev
parents
442a6368
f327884e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletions
+29
-1
ServiceHGKC008.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC008.java
+29
-1
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC008.java
View file @
c56d3dcd
...
@@ -114,7 +114,6 @@ public class ServiceHGKC008 extends ServiceBase {
...
@@ -114,7 +114,6 @@ public class ServiceHGKC008 extends ServiceBase {
fKc008
.
setApplyCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
RECEIVE_CODE
));
fKc008
.
setApplyCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
RECEIVE_CODE
));
fKc008
.
setStatus
(
HGConstant
.
ProductStatus
.
WTJ
);
fKc008
.
setStatus
(
HGConstant
.
ProductStatus
.
WTJ
);
DaoUtils
.
insert
(
HGKC008
.
INSERT
,
fKc008
);
DaoUtils
.
insert
(
HGKC008
.
INSERT
,
fKc008
);
// EiInfoUtils.addBlock(inInfo, "entity", hgkc008, HGKC008.class);
}
}
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
...
@@ -127,6 +126,35 @@ public class ServiceHGKC008 extends ServiceBase {
...
@@ -127,6 +126,35 @@ public class ServiceHGKC008 extends ServiceBase {
}
}
/**
/**
* 移动端
*
* @param inInfo
* @return
*/
public
EiInfo
saveApp
(
EiInfo
inInfo
)
{
try
{
HGKC008
fKc008
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HGKC008
.
class
);
this
.
checkSaveData
(
fKc008
);
if
(
Objects
.
nonNull
(
fKc008
.
getId
())
&&
fKc008
.
getId
()
!=
0
)
{
DaoUtils
.
update
(
HGKC008
.
UPDATE
,
fKc008
);
//同时修改子表的仓库数据、公司数据
HGKCTools
.
HgKc008A
.
updateWhCodeByReceiveId
(
fKc008
);
}
else
{
//生成生产领料编号
fKc008
.
setApplyCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
RECEIVE_CODE
));
fKc008
.
setStatus
(
HGConstant
.
ProductStatus
.
WTJ
);
DaoUtils
.
insert
(
HGKC008
.
INSERT
,
fKc008
);
EiInfoUtils
.
addBlock
(
inInfo
,
"entity"
,
fKc008
,
HGKC008
.
class
);
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"保存成功!"
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"保存失败"
);
}
return
inInfo
;
}
/**
* 校验保存的数据
* 校验保存的数据
*
*
* @param hgkc008
* @param hgkc008
...
...
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