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
d98c67cf
Commit
d98c67cf
authored
Oct 31, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产领料单需要关联实时库存,用实时库存数量进行展示
parent
8c80b4d1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
ServiceHGKC008D.java
...java/com/baosight/hggp/hg/kc/service/ServiceHGKC008D.java
+0
-2
HGSC004A.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC004A.xml
+15
-13
HGKC008D.jsp
src/main/webapp/HG/KC/HGKC008D.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC008D.java
View file @
d98c67cf
...
@@ -3,7 +3,6 @@ package com.baosight.hggp.hg.kc.service;
...
@@ -3,7 +3,6 @@ package com.baosight.hggp.hg.kc.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.common.DdynamicEnum
;
import
com.baosight.hggp.common.DdynamicEnum
;
import
com.baosight.hggp.common.InventTypeDetailEnum
;
import
com.baosight.hggp.common.InventTypeDetailEnum
;
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.DeleteFlagEnum
;
import
com.baosight.hggp.core.enums.DeleteFlagEnum
;
import
com.baosight.hggp.core.security.UserSessionUtils
;
import
com.baosight.hggp.core.security.UserSessionUtils
;
...
@@ -28,7 +27,6 @@ import org.apache.commons.collections.CollectionUtils;
...
@@ -28,7 +27,6 @@ import org.apache.commons.collections.CollectionUtils;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
/**
* @author:songx
* @author:songx
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC004A.xml
View file @
d98c67cf
...
@@ -546,15 +546,15 @@
...
@@ -546,15 +546,15 @@
a.product_name as "productName",
<!-- 产品名称 -->
a.product_name as "productName",
<!-- 产品名称 -->
a.invent_type as "inventType",
<!-- 档案类型 -->
a.invent_type as "inventType",
<!-- 档案类型 -->
a.invent_source as "inventSource",
<!-- 物料来源 1加工 2外购 -->
a.invent_source as "inventSource",
<!-- 物料来源 1加工 2外购 -->
a
.spec as "spec",
c
.spec as "spec",
a
.length as "length",
<!-- 长 -->
c
.length as "length",
<!-- 长 -->
a
.width as "width",
<!-- 宽 -->
c
.width as "width",
<!-- 宽 -->
a
.thick as "thick",
<!-- 厚 -->
c
.thick as "thick",
<!-- 厚 -->
a.product_status as "productStatus",
<!-- 产品状态 0:未提交,1:已提交 -->
a.product_status as "productStatus",
<!-- 产品状态 0:未提交,1:已提交 -->
a.change_type as "changeType",
<!-- 变更类型:默认0,1:增加,2:替换,3:删除 -->
a.change_type as "changeType",
<!-- 变更类型:默认0,1:增加,2:替换,3:删除 -->
a.quantity
as "quantity",
<!-- 数量 -->
c.INV_QTY
as "quantity",
<!-- 数量 -->
a.single_weight
as "singleWeight",
<!-- 单重 -->
c.INV_UNIT_WEIGHT
as "singleWeight",
<!-- 单重 -->
a.total_weight
as "totalWeight",
<!-- 总重 -->
c.INV_WEIGHT
as "totalWeight",
<!-- 总重 -->
a.approval_status as "approvalStatus",
<!-- 审批状态 0:待审;1:审核中;2:已审 -->
a.approval_status as "approvalStatus",
<!-- 审批状态 0:待审;1:审核中;2:已审 -->
a.leaf as "leaf",
<!-- 是否有叶子节点 -->
a.leaf as "leaf",
<!-- 是否有叶子节点 -->
a.sort as "sort",
<!-- 排序字段 -->
a.sort as "sort",
<!-- 排序字段 -->
...
@@ -567,7 +567,8 @@
...
@@ -567,7 +567,8 @@
a.updated_name as "updatedName",
<!-- 修改人名称 -->
a.updated_name as "updatedName",
<!-- 修改人名称 -->
a.updated_time as "updatedTime"
<!-- 更新时间 -->
a.updated_time as "updatedTime"
<!-- 更新时间 -->
FROM ${hggpSchema}.HGSC004A a
FROM ${hggpSchema}.HGSC004A a
left join ${hggpSchema}.HGSC004 b on a.material_id = b.id
join ${hggpSchema}.HGSC004 b on a.material_id = b.id
join ${hggpSchema}.hgkc010 c on a.product_code = c.invent_code and a.company_code = c.company_code
WHERE 1=1
WHERE 1=1
and a.lv = 4
and a.lv = 4
and b.material_status = 2
and b.material_status = 2
...
@@ -594,11 +595,12 @@
...
@@ -594,11 +595,12 @@
<isNotEmpty
prepend=
" AND "
property=
"ids"
>
<isNotEmpty
prepend=
" AND "
property=
"ids"
>
a.id IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"ids"
>
#ids[]#
</iterate>
a.id IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"ids"
>
#ids[]#
</iterate>
</isNotEmpty>
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
prepend=
" AND "
property=
"whName"
>
<isNotEmpty
property=
"orderBy"
>
c.wh_name like CONCAT('%', #whName#, '%')
$orderBy$
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"whCode"
>
</dynamic>
c.wh_code = #whCode#
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
$orderBy$
...
...
src/main/webapp/HG/KC/HGKC008D.jsp
View file @
d98c67cf
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<EF:EFInput
ename=
"inqu_status-0-companyName"
cname=
"公司编号"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-companyName"
cname=
"公司编号"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-receiveId"
cname=
"领料单id"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-receiveId"
cname=
"领料单id"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-projCode"
cname=
"项目编号"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-projCode"
cname=
"项目编号"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-wh
Name"
cname=
"仓库名称
"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-wh
Code"
cname=
"仓库编号
"
colWidth=
"3"
type=
"hidden"
/>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"仓库名称"
ename=
"whName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"仓库名称"
ename=
"whName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
...
...
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