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
a2a9a74f
Commit
a2a9a74f
authored
Jan 10, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仓库档案枚举;
parent
1f76cc4d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
9 deletions
+31
-9
DdynamicEnum.java
src/main/java/com/baosight/hpjx/common/DdynamicEnum.java
+14
-7
HPPZ004.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
+1
-1
HPPZ007.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ007.xml
+16
-1
No files found.
src/main/java/com/baosight/hpjx/common/DdynamicEnum.java
View file @
a2a9a74f
...
@@ -16,24 +16,31 @@ package com.baosight.hpjx.common;
...
@@ -16,24 +16,31 @@ package com.baosight.hpjx.common;
public
enum
DdynamicEnum
{
public
enum
DdynamicEnum
{
/**
/**
* 模块:供应商档案
* 模块:供应商档案
* 用途:供应商档案下拉框
.
* 用途:供应商档案下拉框
* 编写:wwl
.
* 编写:wwl
*/
*/
SUPPLIER_RECORD_BLOCK_ID
(
"supplier_record_block_id"
,
"custCode"
,
"custName"
,
"HPPZ002.queryComboBox"
),
SUPPLIER_RECORD_BLOCK_ID
(
"supplier_record_block_id"
,
"custCode"
,
"custName"
,
"HPPZ002.queryComboBox"
),
/**
/**
* 模块:客户档案
* 模块:客户档案
* 用途:客户档案下拉框
.
* 用途:客户档案下拉框
* 编写:wwl
.
* 编写:wwl
*/
*/
CUSTOMER_RECORD_BLOCK_ID
(
"customer_record_block_id"
,
"custCode"
,
"custName"
,
"HPPZ003.queryComboBox"
),
CUSTOMER_RECORD_BLOCK_ID
(
"customer_record_block_id"
,
"custCode"
,
"custName"
,
"HPPZ003.queryComboBox"
),
/**
/**
* 模块:存货名称
* 模块:存货名称
* 用途:存货名称下拉框
.
* 用途:存货名称下拉框
* 编写:wwl
.
* 编写:wwl
*/
*/
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
*/
WH_RECORD_BLOCK_ID
(
"wh_record_block_id"
,
"whCode"
,
"whName"
,
"HPPZ007.queryComboBox"
);
/** 将结果集放入的块名 */
/** 将结果集放入的块名 */
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
View file @
a2a9a74f
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
COMPANY_CODE = #companyCode#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
cus
tType"
>
<isNotEmpty
prepend=
" AND "
property=
"
inven
tType"
>
INVENT_TYPE = #inventType#
INVENT_TYPE = #inventType#
</isNotEmpty>
</isNotEmpty>
ORDER BY INVENT_CODE
ORDER BY INVENT_CODE
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ007.xml
View file @
a2a9a74f
...
@@ -131,5 +131,19 @@
...
@@ -131,5 +131,19 @@
WHERE
WHERE
ID = #id#
ID = #id#
</update>
</update>
<select
id=
"queryComboBox"
parameterClass=
"java.util.HashMap"
resultClass=
"java.util.HashMap"
>
SELECT DISTINCT
WH_CODE = #whCode#,
WH_NAME = #whName#
FROM hpjx.t_hppz004 WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"whType"
>
WH_TYPE = #whType#
</isNotEmpty>
ORDER BY WH_CODE
</select>
</sqlMap>
</sqlMap>
\ No newline at end of file
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