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
24767f11
Commit
24767f11
authored
Jan 26, 2024
by
yukang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
360fff47
8112ea73
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
DaoUtils.java
src/main/java/com/baosight/hpjx/core/dao/DaoUtils.java
+2
-2
ServiceHPKC003.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
+2
-3
ServiceHPKC010.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC010.java
+1
-0
HPKC003.jsp
src/main/webapp/HP/KC/HPKC003.jsp
+1
-1
HPKC099.jsp
src/main/webapp/HP/KC/HPKC099.jsp
+3
-1
No files found.
src/main/java/com/baosight/hpjx/core/dao/DaoUtils.java
View file @
24767f11
...
@@ -233,7 +233,7 @@ public class DaoUtils {
...
@@ -233,7 +233,7 @@ public class DaoUtils {
String
userId
;
String
userId
;
try
{
try
{
userId
=
MapUtils
.
getString
(
map
,
"updatedBy"
);
userId
=
MapUtils
.
getString
(
map
,
"updatedBy"
);
if
(
StringUtils
.
is
Empty
(
userId
))
{
if
(
StringUtils
.
is
Blank
(
userId
))
{
userId
=
UserSession
.
getLoginName
();
userId
=
UserSession
.
getLoginName
();
userId
=
userId
==
null
||
userId
.
length
()
>
32
?
"System"
:
userId
;
userId
=
userId
==
null
||
userId
.
length
()
>
32
?
"System"
:
userId
;
}
}
...
@@ -244,7 +244,7 @@ public class DaoUtils {
...
@@ -244,7 +244,7 @@ public class DaoUtils {
// 修改人名称
// 修改人名称
String
userName
=
MapUtils
.
getString
(
map
,
"updatedName"
);
String
userName
=
MapUtils
.
getString
(
map
,
"updatedName"
);
try
{
try
{
if
(
StringUtils
.
is
Empty
(
userName
))
{
if
(
StringUtils
.
is
Blank
(
userName
))
{
userName
=
UserSession
.
getLoginCName
();
userName
=
UserSession
.
getLoginCName
();
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
View file @
24767f11
...
@@ -16,7 +16,6 @@ import com.baosight.iplat4j.core.ei.EiConstant;
...
@@ -16,7 +16,6 @@ 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.ServiceBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
com.baosight.iplat4j.core.util.DateUtils
;
import
com.baosight.iplat4j.core.util.DateUtils
;
import
com.baosight.iplat4j.core.web.threadlocal.UserSession
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
org.apache.commons.collections.MapUtils
;
import
org.apache.commons.collections.MapUtils
;
...
@@ -94,8 +93,8 @@ public class ServiceHPKC003 extends ServiceBase {
...
@@ -94,8 +93,8 @@ public class ServiceHPKC003 extends ServiceBase {
//同步生产计划
//同步生产计划
DaoUtils
.
update
(
"HPSC004.update"
,
this
.
synchronousPlan
(
fKc003
));
DaoUtils
.
update
(
"HPSC004.update"
,
this
.
synchronousPlan
(
fKc003
));
// 修改库存
// 修改库存
HPKCTools
.
updateStock
(
fKc003
.
getWhCode
(),
fKc003
.
getInventRecordId
(),
fKc003
.
getAmount
()
.
negate
()
,
HPKCTools
.
updateStock
(
fKc003
.
getWhCode
(),
fKc003
.
getInventRecordId
(),
fKc003
.
getAmount
(),
fKc003
.
getWeight
()
.
negate
()
);
fKc003
.
getWeight
());
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC010.java
View file @
24767f11
...
@@ -198,6 +198,7 @@ public class ServiceHPKC010 extends ServiceBase {
...
@@ -198,6 +198,7 @@ public class ServiceHPKC010 extends ServiceBase {
hpkc010
.
setInventType
(
inventType
.
toString
());
hpkc010
.
setInventType
(
inventType
.
toString
());
hpkc010
.
setInventCode
(
inventCode
);
hpkc010
.
setInventCode
(
inventCode
);
hpkc010
.
setInventName
(
inventName
);
hpkc010
.
setInventName
(
inventName
);
hpkc010
.
setVersion
(
new
Integer
(
1
));
}
}
...
...
src/main/webapp/HP/KC/HPKC003.jsp
View file @
24767f11
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<EF:EFColumn
cname=
"存货名称"
ename=
"inventName"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
cname=
"存货名称"
ename=
"inventName"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"inventRecordId"
cname=
"存货档案ID"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventRecordId"
cname=
"存货档案ID"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"150"
editType=
"textarea"
readonly=
"true"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"150"
editType=
"textarea"
readonly=
"true"
/>
<EF:EFColumn
cname=
"原生产单号"
ename=
"prodNoOld"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
cname=
"原生产单号"
ename=
"prodNoOld"
enable=
"false"
width=
"140"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
cname=
"创建人名称"
ename=
"createdName"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
cname=
"创建人名称"
ename=
"createdName"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
cname=
"创建时间"
ename=
"createdTime"
enable=
"false"
width=
"140"
align=
"center"
<EF:EFColumn
cname=
"创建时间"
ename=
"createdTime"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss','yyyy-MM-dd HH:mm:ss']"
/>
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss','yyyy-MM-dd HH:mm:ss']"
/>
...
...
src/main/webapp/HP/KC/HPKC099.jsp
View file @
24767f11
...
@@ -34,7 +34,9 @@
...
@@ -34,7 +34,9 @@
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目号"
/>
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目号"
/>
<EF:EFColumn
enable=
"false"
ename=
"projName"
cname=
"项目名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"projName"
cname=
"项目名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"productionOrderNo"
cname=
"生产订单号"
/>
<EF:EFColumn
enable=
"false"
ename=
"productionOrderNo"
cname=
"生产订单号"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtType"
cname=
"部件类型"
/>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"部件类型"
width=
"90"
align=
"center"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFComboColumn>
<EF:EFColumn
enable=
"false"
ename=
"prdtCode"
cname=
"部件编码"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtCode"
cname=
"部件编码"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtName"
cname=
"部件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtName"
cname=
"部件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"planCompletionDate"
cname=
"计划完成日期"
/>
<EF:EFColumn
enable=
"false"
ename=
"planCompletionDate"
cname=
"计划完成日期"
/>
...
...
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