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
20bfbf1a
Commit
20bfbf1a
authored
Feb 27, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查人缺失,检查人为创建人
parent
207f9d12
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
ServiceHPZL001.java
.../java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
+2
-2
ServiceHPZL001B.java
...java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001B.java
+4
-0
HPZL001.xml
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL001.xml
+3
-1
No files found.
src/main/java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
View file @
20bfbf1a
...
@@ -195,8 +195,8 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -195,8 +195,8 @@ public class ServiceHPZL001 extends ServiceBase {
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HPZL001
fZl001
=
new
HPZL001
();
HPZL001
fZl001
=
new
HPZL001
();
fZl001
.
fromMap
(
resultRows
.
get
(
i
));
fZl001
.
fromMap
(
resultRows
.
get
(
i
));
fZl001
.
setCheckUser
(
UserSession
.
getLoginName
());
/*
fZl001.setCheckUser(UserSession.getLoginName());
fZl001
.
setCheckUserName
(
UserSession
.
getLoginCName
());
fZl001.setCheckUserName(UserSession.getLoginCName());
*/
fZl001
.
setStatus
(
CommonConstant
.
YesNo
.
YES_1
);
fZl001
.
setStatus
(
CommonConstant
.
YesNo
.
YES_1
);
DaoUtils
.
update
(
HPSqlConstant
.
HPZL001
.
DO_PROCESS
,
fZl001
);
DaoUtils
.
update
(
HPSqlConstant
.
HPZL001
.
DO_PROCESS
,
fZl001
);
}
}
...
...
src/main/java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001B.java
View file @
20bfbf1a
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.ProdOrderStatusEnum
;
import
com.baosight.hpjx.common.ProdOrderStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.kc.domain.HPKC003
;
import
com.baosight.hpjx.hp.kc.domain.HPKC003
;
import
com.baosight.hpjx.hp.kc.domain.HPKC004
;
import
com.baosight.hpjx.hp.kc.domain.HPKC004
;
...
@@ -23,6 +24,7 @@ import com.baosight.hpjx.util.ObjectUtils;
...
@@ -23,6 +24,7 @@ import com.baosight.hpjx.util.ObjectUtils;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.web.threadlocal.UserSession
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
...
@@ -124,6 +126,8 @@ public class ServiceHPZL001B extends ServiceEPBase {
...
@@ -124,6 +126,8 @@ public class ServiceHPZL001B extends ServiceEPBase {
newZl001
.
setProdOrderNo
(
dbSc005b
.
getProdOrderNo
());
newZl001
.
setProdOrderNo
(
dbSc005b
.
getProdOrderNo
());
newZl001
.
setProdTaskNo
(
dbSc005b
.
getProdTaskNo
());
newZl001
.
setProdTaskNo
(
dbSc005b
.
getProdTaskNo
());
newZl001
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
newZl001
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
newZl001
.
setCheckUser
(
UserSession
.
getLoginName
());
newZl001
.
setCheckUserName
(
UserSession
.
getLoginCName
());
DaoUtils
.
insert
(
HPZL001
.
INSERT
,
newZl001
);
DaoUtils
.
insert
(
HPZL001
.
INSERT
,
newZl001
);
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL001.xml
View file @
20bfbf1a
...
@@ -142,6 +142,8 @@
...
@@ -142,6 +142,8 @@
ORG_NAME,
<!-- 生产组名称 -->
ORG_NAME,
<!-- 生产组名称 -->
POOR_TYPE,
<!-- 不良品类 -->
POOR_TYPE,
<!-- 不良品类 -->
PROBLEM_DESC,
<!-- 质量问题描述 -->
PROBLEM_DESC,
<!-- 质量问题描述 -->
CHECK_USER ,
<!-- 检查人 -->
CHECK_USER_NAME,
<!-- 检查人名称 -->
STATUS,
<!-- 单据状态 0未处理 1已处理 -->
STATUS,
<!-- 单据状态 0未处理 1已处理 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_NAME,
<!-- 创建人名称 -->
...
@@ -150,7 +152,7 @@
...
@@ -150,7 +152,7 @@
) VALUES (
) VALUES (
#companyCode#, #depCode#, #receiptDate#, #checkNo#, #prodOrderNo#, #prodTaskNo#,
#companyCode#, #depCode#, #receiptDate#, #checkNo#, #prodOrderNo#, #prodTaskNo#,
#projCode#, #projName#, #inventCode#, #inventName#, #subInventCode#, #subInventName#,
#projCode#, #projName#, #inventCode#, #inventName#, #subInventCode#, #subInventName#,
#orgNo#, #orgName#, #poorType#, #problemDesc#, #status#,
#orgNo#, #orgName#, #poorType#, #problemDesc#,
#checkUser#,#checkUserName#,
#status#,
#createdBy#, #createdName#, #createdTime#, #deleteFlag#)
#createdBy#, #createdName#, #createdTime#, #deleteFlag#)
</insert>
</insert>
...
...
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