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
d581c8f7
Commit
d581c8f7
authored
Jan 12, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存货档案枚举
parent
39923f31
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
7 deletions
+29
-7
DdynamicEnum.java
src/main/java/com/baosight/hpjx/common/DdynamicEnum.java
+7
-0
HPPZ002.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ002.xml
+1
-1
HPPZ003.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ003.xml
+1
-1
HPPZ004.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
+1
-1
HPPZ006.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ006.xml
+16
-1
HPPZ007.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ007.xml
+3
-3
No files found.
src/main/java/com/baosight/hpjx/common/DdynamicEnum.java
View file @
d581c8f7
...
@@ -37,6 +37,13 @@ public enum DdynamicEnum {
...
@@ -37,6 +37,13 @@ public enum DdynamicEnum {
INVENT_NAME_BLOCK_ID
(
"invent_name_block_id"
,
"inventCode"
,
"inventName"
,
"HPPZ004.queryComboBox"
),
INVENT_NAME_BLOCK_ID
(
"invent_name_block_id"
,
"inventCode"
,
"inventName"
,
"HPPZ004.queryComboBox"
),
/**
/**
* 模块:存货档案
* 用途:存货档案下拉框
* 编写:wwl
*/
INVENT_RECORD_BLOCK_ID
(
"invent_record_block_id"
,
"id"
,
"inventName"
,
"HPPZ006.queryComboBox"
),
/**
* 模块:仓库档案
* 模块:仓库档案
* 用途:仓库档案下拉框
* 用途:仓库档案下拉框
* 编写:wwl
* 编写:wwl
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ002.xml
View file @
d581c8f7
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
SELECT DISTINCT
SELECT DISTINCT
CUST_CODE as "custCode",
CUST_CODE as "custCode",
CUST_NAME as "custName"
CUST_NAME as "custName"
FROM hpjx.t_hppz002 WHERE
1
=1
FROM hpjx.t_hppz002 WHERE
STATUS
=1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
COMPANY_CODE = #companyCode#
</isNotEmpty>
</isNotEmpty>
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ003.xml
View file @
d581c8f7
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
SELECT DISTINCT
SELECT DISTINCT
CUST_CODE as "custCode",
CUST_CODE as "custCode",
CUST_CNAME as "custName"
CUST_CNAME as "custName"
FROM hpjx.t_hppz003 WHERE
1
=1
FROM hpjx.t_hppz003 WHERE
STATUS
=1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
COMPANY_CODE = #companyCode#
</isNotEmpty>
</isNotEmpty>
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
View file @
d581c8f7
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
SELECT DISTINCT
SELECT DISTINCT
INVENT_CODE as "inventCode",
INVENT_CODE as "inventCode",
INVENT_NAME as "inventName"
INVENT_NAME as "inventName"
FROM hpjx.t_hppz004 WHERE
1
=1
FROM hpjx.t_hppz004 WHERE
STATUS
=1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
COMPANY_CODE = #companyCode#
</isNotEmpty>
</isNotEmpty>
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ006.xml
View file @
d581c8f7
...
@@ -180,5 +180,19 @@
...
@@ -180,5 +180,19 @@
WHERE
WHERE
ID = #id#
ID = #id#
</update>
</update>
<select
id=
"queryComboBox"
parameterClass=
"java.util.HashMap"
resultClass=
"java.util.HashMap"
>
SELECT DISTINCT
ID as "id",
CONCAT(INVENT_CODE,'-',INVENT_NAME,'[',SPEC,']') as "inventName"
FROM hpjx.t_hppz006 WHERE STATUS=1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"inventType"
>
INVENT_TYPE = #inventType#
</isNotEmpty>
ORDER BY INVENT_CODE
</select>
</sqlMap>
</sqlMap>
\ No newline at end of file
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ007.xml
View file @
d581c8f7
...
@@ -135,9 +135,9 @@
...
@@ -135,9 +135,9 @@
<select
id=
"queryComboBox"
parameterClass=
"java.util.HashMap"
<select
id=
"queryComboBox"
parameterClass=
"java.util.HashMap"
resultClass=
"java.util.HashMap"
>
resultClass=
"java.util.HashMap"
>
SELECT DISTINCT
SELECT DISTINCT
WH_CODE
= #whCode#,
WH_CODE
as "whCode",
<!-- 仓库编码 -->
WH_NAME
= #whName#
WH_NAME
as "whName"
<!-- 仓库名称 -->
FROM hpjx.t_hppz004 WHERE
1
=1
FROM hpjx.t_hppz004 WHERE
STATUS
=1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
COMPANY_CODE = #companyCode#
</isNotEmpty>
</isNotEmpty>
...
...
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