Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
3a23e6a7
Commit
3a23e6a7
authored
Feb 06, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存货类型名称同步bugfix;
parent
ee5cad33
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
+12
-1
HPPZ004.java
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ004.java
+3
-1
ServiceHPPZ004.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ004.java
+4
-0
HPPZ004.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
+5
-0
No files found.
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ004.java
View file @
3a23e6a7
...
@@ -56,7 +56,9 @@ public class HPPZ004 extends DaoEPBase {
...
@@ -56,7 +56,9 @@ public class HPPZ004 extends DaoEPBase {
public
static
final
String
INSERT
=
"HPPZ004.insert"
;
public
static
final
String
INSERT
=
"HPPZ004.insert"
;
public
static
final
String
UPDATE
=
"HPPZ004.update"
;
public
static
final
String
UPDATE
=
"HPPZ004.update"
;
public
static
final
String
DELETE
=
"HPPZ004.delete"
;
public
static
final
String
DELETE
=
"HPPZ004.delete"
;
public
static
final
String
DELETE_BACK
=
"HPPZ004.deleteBack"
;
private
Long
id
;
private
Long
id
;
private
String
companyCode
=
" "
;
/* 企业编码 预留*/
private
String
companyCode
=
" "
;
/* 企业编码 预留*/
private
String
depCode
=
" "
;
/* 部门编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ004.java
View file @
3a23e6a7
...
@@ -127,6 +127,10 @@ public class ServiceHPPZ004 extends ServiceBase {
...
@@ -127,6 +127,10 @@ public class ServiceHPPZ004 extends ServiceBase {
HPPZ004
hppz004
=
new
HPPZ004
();
HPPZ004
hppz004
=
new
HPPZ004
();
if
(
CollectionUtils
.
isNotEmpty
(
list
)){
if
(
CollectionUtils
.
isNotEmpty
(
list
)){
hppz004
.
fromMap
(
list
.
get
(
0
));
hppz004
.
fromMap
(
list
.
get
(
0
));
if
(
hppz004
.
getDeleteFlag
()==
CommonConstant
.
YesNo
.
YES_1
)
{
hppz004
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
DaoUtils
.
update
(
HPPZ004
.
DELETE_BACK
,
hppz004
);
}
}
else
{
}
else
{
// 生成编码
// 生成编码
hppz004
.
setInventCode
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
INVENT_CODE
));
hppz004
.
setInventCode
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
INVENT_CODE
));
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
View file @
3a23e6a7
...
@@ -119,6 +119,11 @@
...
@@ -119,6 +119,11 @@
UPDATE hpjx.T_HPPZ004 SET DELETE_FLAG = 1 WHERE ID = #id#
UPDATE hpjx.T_HPPZ004 SET DELETE_FLAG = 1 WHERE ID = #id#
</delete>
</delete>
<!-- 逻辑删除 -->
<delete
id=
"deleteBack"
>
UPDATE hpjx.T_HPPZ004 SET DELETE_FLAG = 0 WHERE ID = #id#
</delete>
<update
id=
"update"
>
<update
id=
"update"
>
UPDATE hpjx.t_hppz004
UPDATE hpjx.t_hppz004
SET
SET
...
...
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