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
db940891
Commit
db940891
authored
Feb 26, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PZ日志注解更新
parent
4a1bb7d1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
72 additions
and
69 deletions
+72
-69
ServiceHPPZ001.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ001.java
+5
-5
ServiceHPPZ002.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ002.java
+5
-5
ServiceHPPZ003.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ003.java
+5
-5
ServiceHPPZ004.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ004.java
+7
-7
ServiceHPPZ005.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ005.java
+5
-5
ServiceHPPZ006.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
+12
-12
ServiceHPPZ007.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
+7
-7
ServiceHPPZ008.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ008.java
+5
-5
ServiceHPPZ009.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ009.java
+11
-8
ServiceHPPZ011.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ011.java
+10
-10
No files found.
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ001.java
View file @
db940891
...
...
@@ -23,7 +23,7 @@ public class ServiceHPPZ001 extends ServiceBase {
/**
* 画面初始化.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
客商类型"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
Thppz001
hppz001
=
new
Thppz001
();
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
hppz001
);
...
...
@@ -35,7 +35,7 @@ public class ServiceHPPZ001 extends ServiceBase {
/**
* 查询操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
客商类型"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
...
...
@@ -47,7 +47,7 @@ public class ServiceHPPZ001 extends ServiceBase {
/**
* 新增操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
客商类型"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
...
...
@@ -80,7 +80,7 @@ public class ServiceHPPZ001 extends ServiceBase {
/**
* 修改操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
客商类型"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
...
...
@@ -108,7 +108,7 @@ public class ServiceHPPZ001 extends ServiceBase {
/**
* 删除操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
客商类型"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
Thppz001
hppz001
=
new
Thppz001
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ002.java
View file @
db940891
...
...
@@ -37,7 +37,7 @@ public class ServiceHPPZ002 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
供应商档案"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
inInfo
.
setBlock
(
CompanyTypeEnum
.
generatorEiBlock
());
...
...
@@ -55,7 +55,7 @@ public class ServiceHPPZ002 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
供应商档案"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -72,7 +72,7 @@ public class ServiceHPPZ002 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
供应商档案"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
...
...
@@ -101,7 +101,7 @@ public class ServiceHPPZ002 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
供应商档案"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
try
{
...
...
@@ -126,7 +126,7 @@ public class ServiceHPPZ002 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
供应商档案"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ003.java
View file @
db940891
...
...
@@ -34,7 +34,7 @@ public class ServiceHPPZ003 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
客户档案"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
inInfo
.
setBlock
(
CompanyTypeEnum
.
generatorEiBlock
());
...
...
@@ -52,7 +52,7 @@ public class ServiceHPPZ003 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
客户档案"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -69,7 +69,7 @@ public class ServiceHPPZ003 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
客户档案"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -97,7 +97,7 @@ public class ServiceHPPZ003 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
客户档案"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -121,7 +121,7 @@ public class ServiceHPPZ003 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
客户档案"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ004.java
View file @
db940891
...
...
@@ -37,7 +37,7 @@ public class ServiceHPPZ004 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
存货类型"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
inInfo
.
setBlock
(
InitiateModeEnum
.
generatorEiBlock
());
...
...
@@ -54,7 +54,7 @@ public class ServiceHPPZ004 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
存货类型"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -71,7 +71,7 @@ public class ServiceHPPZ004 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
存货类型"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -99,7 +99,7 @@ public class ServiceHPPZ004 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
存货类型"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -122,7 +122,7 @@ public class ServiceHPPZ004 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"判断存货名称是否存在,如果存在返回编码,否则新增并返回编码"
)
@OperationLogAnnotation
(
operModul
=
"
存货类型"
,
operType
=
"查询
"
,
operDesc
=
"判断存货名称是否存在,如果存在返回编码,否则新增并返回编码"
)
public
EiInfo
checkAndSave
(
EiInfo
inInfo
){
String
inventType
=
inInfo
.
getString
(
"inventType"
);
String
inventName
=
inInfo
.
getString
(
"inventName"
);
...
...
@@ -156,7 +156,7 @@ public class ServiceHPPZ004 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
存货类型"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -184,7 +184,7 @@ public class ServiceHPPZ004 extends ServiceBase {
* @param eiInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
存货类型"
,
operType
=
"查询
"
,
operDesc
=
"下拉框"
)
public
EiInfo
queryComboBox
(
EiInfo
eiInfo
)
{
Map
map
=
new
HashMap
();
map
.
put
(
"inventType"
,
eiInfo
.
getString
(
"inventType"
));
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ005.java
View file @
db940891
...
...
@@ -15,7 +15,7 @@ import java.util.Date;
import
java.util.Map
;
public
class
ServiceHPPZ005
extends
ServiceBase
{
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
HPPZ005
hppz005
=
new
HPPZ005
();
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
hppz005
);
...
...
@@ -27,7 +27,7 @@ public class ServiceHPPZ005 extends ServiceBase {
/**
* 查询操作.
*/
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
...
...
@@ -39,7 +39,7 @@ public class ServiceHPPZ005 extends ServiceBase {
/**
* 新增操作.
*/
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
...
...
@@ -72,7 +72,7 @@ public class ServiceHPPZ005 extends ServiceBase {
/**
* 修改操作.
*/
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"修改"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
...
...
@@ -100,7 +100,7 @@ public class ServiceHPPZ005 extends ServiceBase {
/**
* 删除操作.
*/
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
HPPZ005
hppz005
=
new
HPPZ005
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
View file @
db940891
...
...
@@ -37,7 +37,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"查询 "
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
null
,
false
);
...
...
@@ -52,7 +52,7 @@ public class ServiceHPPZ006 extends ServiceBase {
/**
* 查询操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"查询 "
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -69,7 +69,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"新增 "
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"新增 "
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -99,7 +99,7 @@ public class ServiceHPPZ006 extends ServiceBase {
*
* @param resultRows
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"校验 "
,
operDesc
=
"校验保存的数据"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"校验 "
,
operDesc
=
"校验保存的数据"
)
private
void
checkSaveData
(
List
<
Map
>
resultRows
)
{
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HPPZ006
fPz006
=
new
HPPZ006
();
...
...
@@ -124,7 +124,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"修改 "
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"修改 "
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -151,7 +151,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"删除 "
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"删除 "
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -173,7 +173,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"判断存货档案是否存在,如果存在返回ID,否则新增并返回ID"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"查询 "
,
operDesc
=
"判断存货档案是否存在,如果存在返回ID,否则新增并返回ID"
)
public
EiInfo
checkAndSave
(
EiInfo
inInfo
){
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
0
,
HPPZ006
.
FIELD_INVENT_TYPE
,
inInfo
.
getString
(
"inventType"
));
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
0
,
HPPZ006
.
FIELD_INVENT_CODE
,
inInfo
.
getString
(
"inventCode"
));
...
...
@@ -215,7 +215,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"规格下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"查询 "
,
operDesc
=
"规格下拉框"
)
public
EiInfo
queryComboBoxSpec
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
@@ -233,7 +233,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param eiInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"存货名称下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"查询 "
,
operDesc
=
"存货名称下拉框"
)
public
EiInfo
queryMaterialComboBox
(
EiInfo
eiInfo
)
{
Map
map
=
EiInfoUtils
.
getFirstRow
(
eiInfo
);
if
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"inventType"
)))
{
...
...
@@ -255,7 +255,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"查询 "
,
operDesc
=
"下拉框"
)
public
EiInfo
queryComboBoxAll
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
@@ -273,7 +273,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"单位下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案
"
,
operType
=
"查询 "
,
operDesc
=
"单位下拉框"
)
public
EiInfo
queryComboBoxUnit
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
@@ -291,7 +291,7 @@ public class ServiceHPPZ006 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
存货档案"
,
operType
=
"查询
"
,
operDesc
=
"下拉框"
)
public
EiInfo
queryPrdtComboBox
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
View file @
db940891
...
...
@@ -32,7 +32,7 @@ public class ServiceHPPZ007 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
仓库档案
"
,
operType
=
"查询 "
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
true
);
...
...
@@ -49,7 +49,7 @@ public class ServiceHPPZ007 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
仓库档案
"
,
operType
=
"查询 "
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -63,7 +63,7 @@ public class ServiceHPPZ007 extends ServiceBase {
/**
* 新增操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"新增 "
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
仓库档案
"
,
operType
=
"新增 "
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -91,7 +91,7 @@ public class ServiceHPPZ007 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"修改 "
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
仓库档案
"
,
operType
=
"修改 "
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -115,7 +115,7 @@ public class ServiceHPPZ007 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"删除 "
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
仓库档案
"
,
operType
=
"删除 "
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -137,7 +137,7 @@ public class ServiceHPPZ007 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"根据仓库CODE找对象"
)
@OperationLogAnnotation
(
operModul
=
"
仓库档案
"
,
operType
=
"查询 "
,
operDesc
=
"根据仓库CODE找对象"
)
public
EiInfo
queryByWhCode
(
EiInfo
inInfo
)
{
Map
params
=
new
HashMap
<>();
params
.
put
(
"whCode"
,
inInfo
.
getString
(
"whCode"
));
...
...
@@ -152,7 +152,7 @@ public class ServiceHPPZ007 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
仓库档案"
,
operType
=
"查询
"
,
operDesc
=
"下拉框"
)
public
EiInfo
queryComboBox
(
EiInfo
inInfo
)
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
list
.
add
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
);
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ008.java
View file @
db940891
...
...
@@ -23,7 +23,7 @@ public class ServiceHPPZ008 extends ServiceBase {
/**
* 画面初始化.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
库存预警值档案
"
,
operType
=
"查询 "
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
Thppz008
hppz008
=
new
Thppz008
();
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
hppz008
);
...
...
@@ -35,7 +35,7 @@ public class ServiceHPPZ008 extends ServiceBase {
/**
* 查询操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"查询 "
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
库存预警值档案
"
,
operType
=
"查询 "
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
...
...
@@ -47,7 +47,7 @@ public class ServiceHPPZ008 extends ServiceBase {
/**
* 新增操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"新增 "
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
库存预警值档案
"
,
operType
=
"新增 "
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
...
...
@@ -83,7 +83,7 @@ public class ServiceHPPZ008 extends ServiceBase {
/**
* 修改操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理
"
,
operType
=
"修改 "
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
库存预警值档案
"
,
operType
=
"修改 "
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
...
...
@@ -111,7 +111,7 @@ public class ServiceHPPZ008 extends ServiceBase {
/**
* 删除操作.
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
库存预警值档案"
,
operType
=
"删除
"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
Thppz008
hppz008
=
new
Thppz008
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ009.java
View file @
db940891
...
...
@@ -37,7 +37,7 @@ public class ServiceHPPZ009 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
企业管理"
,
operType
=
"查询
"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPPZ009
().
eiMetadata
);
...
...
@@ -53,7 +53,7 @@ public class ServiceHPPZ009 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
企业管理"
,
operType
=
"查询
"
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -70,7 +70,7 @@ public class ServiceHPPZ009 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"插入
"
,
operDesc
=
"保存"
)
@OperationLogAnnotation
(
operModul
=
"
企业管理"
,
operType
=
"插入
"
,
operDesc
=
"保存"
)
public
EiInfo
save
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -100,7 +100,7 @@ public class ServiceHPPZ009 extends ServiceBase {
*
* @param resultRows
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"校验
"
,
operDesc
=
"校验保存的数据"
)
@OperationLogAnnotation
(
operModul
=
"
企业管理"
,
operType
=
"校验
"
,
operDesc
=
"校验保存的数据"
)
private
void
checkSaveData
(
List
<
Map
>
resultRows
)
{
// 数据校验
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
...
...
@@ -118,7 +118,7 @@ public class ServiceHPPZ009 extends ServiceBase {
* @param fPz009
* @throws Exception
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"新增
"
,
operDesc
=
"新增企业信息"
)
@OperationLogAnnotation
(
operModul
=
"
企业管理"
,
operType
=
"新增
"
,
operDesc
=
"新增企业信息"
)
private
void
add
(
HPPZ009
fPz009
)
throws
Exception
{
// 生成企业编码
fPz009
.
setCompanyCode
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
COMPANY_CODE
));
...
...
@@ -138,7 +138,7 @@ public class ServiceHPPZ009 extends ServiceBase {
*
* @param fPz009
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
企业管理"
,
operType
=
"修改
"
,
operDesc
=
"修改"
)
private
void
modify
(
HPPZ009
fPz009
)
{
DaoUtils
.
update
(
"HPPZ009.update"
,
fPz009
);
}
...
...
@@ -149,7 +149,7 @@ public class ServiceHPPZ009 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"新增
"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"配置管理"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -176,7 +176,7 @@ public class ServiceHPPZ009 extends ServiceBase {
*
* @param hppz009
*/
@OperationLogAnnotation
(
operModul
=
"
配置管理"
,
operType
=
"新增
"
,
operDesc
=
"初始化用户"
)
@OperationLogAnnotation
(
operModul
=
"
企业管理"
,
operType
=
"新增
"
,
operDesc
=
"初始化用户"
)
private
void
initUser
(
HPPZ009
hppz009
)
throws
Exception
{
String
companyCode
=
hppz009
.
getCompanyCode
();
Map
inInfoRowMap
=
new
HashMap
();
...
...
@@ -205,6 +205,7 @@ public class ServiceHPPZ009 extends ServiceBase {
*
* @param hppz009
*/
@OperationLogAnnotation
(
operModul
=
"企业管理"
,
operType
=
"新增"
,
operDesc
=
"用户关联角色"
)
private
void
insertGroupMember
(
HPPZ009
hppz009
)
{
String
companyCode
=
hppz009
.
getCompanyCode
();
Map
inInfoRowMap
=
new
HashMap
();
...
...
@@ -230,6 +231,7 @@ public class ServiceHPPZ009 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"企业管理"
,
operType
=
"修改"
,
operDesc
=
"修改操作"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -255,6 +257,7 @@ public class ServiceHPPZ009 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"企业管理"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ011.java
View file @
db940891
...
...
@@ -38,7 +38,7 @@ public class ServiceHPPZ011 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
Map
queryMap
=
new
HashMap
();
...
...
@@ -58,7 +58,7 @@ public class ServiceHPPZ011 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -75,7 +75,7 @@ public class ServiceHPPZ011 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"新增"
,
operDesc
=
"保存操作"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"新增"
,
operDesc
=
"保存操作"
)
public
EiInfo
save
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -116,7 +116,7 @@ public class ServiceHPPZ011 extends ServiceBase {
*
* @param resultRows
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"校验"
,
operDesc
=
"校验保存的数据"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"校验"
,
operDesc
=
"校验保存的数据"
)
private
void
checkSaveData
(
List
<
Map
>
resultRows
)
{
// 数据校验
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
...
...
@@ -132,7 +132,7 @@ public class ServiceHPPZ011 extends ServiceBase {
*
* @param fPz011
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"新增"
,
operDesc
=
"新增企业信息"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"新增"
,
operDesc
=
"新增企业信息"
)
private
void
add
(
HPPZ011
fPz011
)
{
fPz011
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
DaoUtils
.
insert
(
HPPZ011
.
INSERT
,
fPz011
);
...
...
@@ -143,7 +143,7 @@ public class ServiceHPPZ011 extends ServiceBase {
*
* @param fPz011
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"修改"
,
operDesc
=
"修改数据"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"修改"
,
operDesc
=
"修改数据"
)
private
void
modify
(
HPPZ011
fPz011
)
{
DaoUtils
.
update
(
HPPZ011
.
UPDATE
,
fPz011
);
}
...
...
@@ -154,7 +154,7 @@ public class ServiceHPPZ011 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
@@ -176,7 +176,7 @@ public class ServiceHPPZ011 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"查询"
,
operDesc
=
"下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"查询"
,
operDesc
=
"下拉框"
)
public
EiInfo
queryComboBox
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
@@ -187,7 +187,7 @@ public class ServiceHPPZ011 extends ServiceBase {
}
return
inInfo
;
}
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"查询"
,
operDesc
=
"下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"查询"
,
operDesc
=
"下拉框"
)
public
EiInfo
queryComboBoxAll
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
@@ -203,7 +203,7 @@ public class ServiceHPPZ011 extends ServiceBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"
配置
管理"
,
operType
=
"查询"
,
operDesc
=
"下拉框"
)
@OperationLogAnnotation
(
operModul
=
"
厂区
管理"
,
operType
=
"查询"
,
operDesc
=
"下拉框"
)
public
EiInfo
queryGroupComboBox
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
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