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
798b1a29
Commit
798b1a29
authored
Nov 19, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com:8800/platform/hg-smart
into dev-ly
parents
257cf447
0032ef6d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
12 deletions
+31
-12
ServiceHGKC005.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC005.java
+23
-9
HGPZ022.xml
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ022.xml
+1
-1
ServiceHGZL003.java
.../java/com/baosight/hggp/hg/zl/service/ServiceHGZL003.java
+6
-1
HGZL003.jsp
src/main/webapp/HG/ZL/HGZL003.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC005.java
View file @
798b1a29
...
@@ -11,16 +11,26 @@ import com.baosight.hggp.hg.constant.HGConstant;
...
@@ -11,16 +11,26 @@ import com.baosight.hggp.hg.constant.HGConstant;
import
com.baosight.hggp.hg.constant.HGSqlConstant
;
import
com.baosight.hggp.hg.constant.HGSqlConstant
;
import
com.baosight.hggp.hg.cw.tools.HGCWTools
;
import
com.baosight.hggp.hg.cw.tools.HGCWTools
;
import
com.baosight.hggp.hg.cw.vo.UserVO
;
import
com.baosight.hggp.hg.cw.vo.UserVO
;
import
com.baosight.hggp.hg.kc.domain.*
;
import
com.baosight.hggp.hg.kc.domain.HGKC005
;
import
com.baosight.hggp.hg.kc.domain.HGKC006
;
import
com.baosight.hggp.hg.kc.domain.HGKC006A
;
import
com.baosight.hggp.hg.kc.domain.HGKC007
;
import
com.baosight.hggp.hg.kc.domain.HGKC007A
;
import
com.baosight.hggp.hg.kc.tools.HGKCTools
;
import
com.baosight.hggp.hg.kc.tools.HGKCTools
;
import
com.baosight.hggp.hg.kc.utils.HGKCUtils
;
import
com.baosight.hggp.hg.pz.domain.HGPZ005
;
import
com.baosight.hggp.hg.pz.domain.HGPZ005
;
import
com.baosight.hggp.hg.pz.tools.HGPZTools
;
import
com.baosight.hggp.hg.pz.tools.HGPZTools
;
import
com.baosight.hggp.hg.sc.domain.HGSC004A
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.xs.utils.HGXSUtils
;
import
com.baosight.hggp.hg.xs.utils.HGXSUtils
;
import
com.baosight.hggp.hg.yx.domain.HGYX001
;
import
com.baosight.hggp.hg.yx.domain.HGYX001
;
import
com.baosight.hggp.util.*
;
import
com.baosight.hggp.util.AssertUtils
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.DateUtils
;
import
com.baosight.hggp.util.EiInfoUtils
;
import
com.baosight.hggp.util.ErrorCodeUtils
;
import
com.baosight.hggp.util.ExcelUtils
;
import
com.baosight.hggp.util.LogUtils
;
import
com.baosight.hggp.util.ObjectUtils
;
import
com.baosight.hggp.util.StringUtil
;
import
com.baosight.hggp.util.StringUtils
;
import
com.baosight.hggp.util.contants.ACConstants
;
import
com.baosight.hggp.util.contants.ACConstants
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
...
@@ -32,7 +42,11 @@ import com.baosight.iplat4j.ed.util.SequenceGenerator;
...
@@ -32,7 +42,11 @@ import com.baosight.iplat4j.ed.util.SequenceGenerator;
import
org.apache.commons.collections.MapUtils
;
import
org.apache.commons.collections.MapUtils
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.*
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @author LiuYang
* @author LiuYang
...
@@ -62,9 +76,9 @@ public class ServiceHGKC005 extends ServiceEPBase {
...
@@ -62,9 +76,9 @@ public class ServiceHGKC005 extends ServiceEPBase {
DdynamicEnum
.
SPEC_RECORD_BLOCK_ID
,
DdynamicEnum
.
SPEC_RECORD_BLOCK_ID
,
DdynamicEnum
.
INVENT_TYPE_BLOCK_ID
),
queryMap
);
DdynamicEnum
.
INVENT_TYPE_BLOCK_ID
),
queryMap
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HGKC005
().
eiMetadata
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HGKC005
().
eiMetadata
);
UserVO
userVO
=
HGCWTools
.
HgCw002
.
getUserCompany
();
//
UserVO userVO = HGCWTools.HgCw002.getUserCompany();
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGYX001
.
FIELD_COMPANY_CODE
,
userVO
.
getUsercode
());
//
inInfo.setCell(EiConstant.queryBlock, ACConstants.ROW_CODE_0, HGYX001.FIELD_COMPANY_CODE, userVO.getUsercode());
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGYX001
.
FIELD_COMPANY_NAME
,
userVO
.
getUsername
());
//
inInfo.setCell(EiConstant.queryBlock, ACConstants.ROW_CODE_0,HGYX001.FIELD_COMPANY_NAME, userVO.getUsername());
}
catch
(
PlatException
e
)
{
}
catch
(
PlatException
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
}
...
...
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ022.xml
View file @
798b1a29
...
@@ -364,7 +364,7 @@
...
@@ -364,7 +364,7 @@
<!-- 抛送状态修改-->
<!-- 抛送状态修改-->
<update
id=
"updateBillStatus"
>
<update
id=
"updateBillStatus"
>
UPDATE ${
wggz
Schema}.HGPZ022
UPDATE ${
hggp
Schema}.HGPZ022
SET
SET
BILL_STATUS = #billStatus#
<!-- 抛送状态:00:未抛送 10:发送中 20:抛帐成功 30:抛帐失败 -->
BILL_STATUS = #billStatus#
<!-- 抛送状态:00:未抛送 10:发送中 20:抛帐成功 30:抛帐失败 -->
WHERE BILL_MAIN_ID = #billMainId#
WHERE BILL_MAIN_ID = #billMainId#
...
...
src/main/java/com/baosight/hggp/hg/zl/service/ServiceHGZL003.java
View file @
798b1a29
...
@@ -110,7 +110,12 @@ public class ServiceHGZL003 extends ServiceBase {
...
@@ -110,7 +110,12 @@ public class ServiceHGZL003 extends ServiceBase {
newZl003
.
setCheckCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
HGZL003_CHECK_CODE
));
newZl003
.
setCheckCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
HGZL003_CHECK_CODE
));
newZl003
.
setCheckBy
(
UserSessionUtils
.
getLoginName
());
newZl003
.
setCheckBy
(
UserSessionUtils
.
getLoginName
());
newZl003
.
setCheckName
(
UserSessionUtils
.
getLoginCName
());
newZl003
.
setCheckName
(
UserSessionUtils
.
getLoginCName
());
newZl003
.
setCheckDate
(
DateUtils
.
shortDate
());
newZl003
.
setCheckDate
(
DateUtils
.
formatShort
(
fZl003
.
getCheckDate
()));
newZl003
.
setQuantity
(
fZl003
.
getQuantity
());
newZl003
.
setUnpassQuantity
(
fZl003
.
getUnpassQuantity
());
newZl003
.
setPassQuantity
(
fZl003
.
getQuantity
()
-
fZl003
.
getUnpassQuantity
());
newZl003
.
setWorkBy
(
fZl003
.
getWorkBy
());
newZl003
.
setWorkName
(
fZl003
.
getWorkName
());
DaoUtils
.
insert
(
HGZL003
.
INSERT
,
newZl003
);
DaoUtils
.
insert
(
HGZL003
.
INSERT
,
newZl003
);
// 生成整改通知单
// 生成整改通知单
HGZLTools
.
HgZl004
.
addByHGZL003
(
newZl003
);
HGZLTools
.
HgZl004
.
addByHGZL003
(
newZl003
);
...
...
src/main/webapp/HG/ZL/HGZL003.jsp
View file @
798b1a29
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<EF:EFColumn
ename=
"taskCode"
cname=
"生产任务单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"taskCode"
cname=
"生产任务单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"checkCode"
cname=
"质检单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"checkCode"
cname=
"质检单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"checkDate"
cname=
"质检日期"
width=
"120"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"checkDate"
cname=
"质检日期"
width=
"120"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd'
, 'yyyy-MM-dd'
]"
required=
"true"
/>
<EF:EFColumn
ename=
"processName"
cname=
"工序"
width=
"100"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"processName"
cname=
"工序"
width=
"100"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productCode"
cname=
"存货编码"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productCode"
cname=
"存货编码"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productName"
cname=
"存货名称"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productName"
cname=
"存货名称"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
...
...
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