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
f7df497c
Commit
f7df497c
authored
Jun 29, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拆单派工bugfix;
parent
01f88f00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
ServiceHGSC006B.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC006B.java
+4
-5
HGSC006B.js
src/main/webapp/HG/SC/HGSC006B.js
+4
-4
HGSC006B.jsp
src/main/webapp/HG/SC/HGSC006B.jsp
+1
-0
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC006B.java
View file @
f7df497c
...
@@ -6,10 +6,7 @@ import com.baosight.hggp.core.constant.CommonConstant;
...
@@ -6,10 +6,7 @@ import com.baosight.hggp.core.constant.CommonConstant;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.enums.OrgTypeEnum
;
import
com.baosight.hggp.core.enums.OrgTypeEnum
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.sc.domain.HGSC006
;
import
com.baosight.hggp.hg.sc.domain.*
;
import
com.baosight.hggp.hg.sc.domain.HGSC006A
;
import
com.baosight.hggp.hg.sc.domain.HGSC007
;
import
com.baosight.hggp.hg.sc.domain.HGSC098
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.hg.xs.tools.HGXSTools
;
import
com.baosight.hggp.hg.xs.tools.HGXSTools
;
...
@@ -114,6 +111,8 @@ public class ServiceHGSC006B extends ServiceBase {
...
@@ -114,6 +111,8 @@ public class ServiceHGSC006B extends ServiceBase {
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
Long
orderDetailId
=
MapUtils
.
getLong
(
EiInfoUtils
.
getFirstRow
(
inInfo
,
CommonConstant
.
Field
.
DETAIL
),
HGSC006A
.
FIELD_id
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
0
,
HGSC007
.
FIELD_order_detail_id
,
orderDetailId
);
inInfo
=
super
.
query
(
inInfo
,
HGSC007
.
QUERY
,
new
HGSC007
());
inInfo
=
super
.
query
(
inInfo
,
HGSC007
.
QUERY
,
new
HGSC007
());
}
catch
(
Throwable
e
)
{
}
catch
(
Throwable
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
...
@@ -231,7 +230,7 @@ public class ServiceHGSC006B extends ServiceBase {
...
@@ -231,7 +230,7 @@ public class ServiceHGSC006B extends ServiceBase {
HGSCTools
.
checkAssignedNum
(
orderDetailId
,
diffNum
);
HGSCTools
.
checkAssignedNum
(
orderDetailId
,
diffNum
);
// 更新子单
// 更新子单
hgsc007
.
setTotalWeight
(
hgsc007
.
getSingleWeight
().
multiply
(
new
BigDecimal
(
hgsc007
.
getQuantity
())));
hgsc007
.
setTotalWeight
(
hgsc007
.
getSingleWeight
().
multiply
(
new
BigDecimal
(
hgsc007
.
getQuantity
())));
DaoUtils
.
update
(
HGSC007
.
UPDATE
,
dbS
c007
);
DaoUtils
.
update
(
HGSC007
.
UPDATE
,
hgs
c007
);
}
}
...
...
src/main/webapp/HG/SC/HGSC006B.js
View file @
f7df497c
...
@@ -123,10 +123,10 @@ function query() {
...
@@ -123,10 +123,10 @@ function query() {
/**
/**
* 页面加载时执行
* 页面加载时执行
*/
*/
//
$(window).load(function () {
$
(
window
).
load
(
function
()
{
//
// 查询
// 查询
//
query();
query
();
//
})
})
/**
/**
* 保存
* 保存
...
...
src/main/webapp/HG/SC/HGSC006B.jsp
View file @
f7df497c
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
<EF:EFPage
title=
"拆单派工"
>
<EF:EFPage
title=
"拆单派工"
>
<EF:EFRegion
id=
"inqu"
title=
"订单详情"
>
<EF:EFRegion
id=
"inqu"
title=
"订单详情"
>
<EF:EFInput
ename=
"inqu_status-0-orderDetailId"
cname=
"订单详情ID"
type=
"hidden"
/>
<EF:EFInput
ename=
"detail-0-projCode"
cname=
"项目号"
type=
"hidden"
/>
<EF:EFInput
ename=
"detail-0-projCode"
cname=
"项目号"
type=
"hidden"
/>
<EF:EFInput
ename=
"detail-0-productType"
cname=
"产品类型"
type=
"hidden"
/>
<EF:EFInput
ename=
"detail-0-productType"
cname=
"产品类型"
type=
"hidden"
/>
<EF:EFInput
ename=
"detail-0-id"
cname=
"订单明细ID"
type=
"hidden"
/>
<EF:EFInput
ename=
"detail-0-id"
cname=
"订单明细ID"
type=
"hidden"
/>
...
...
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