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
e80f9027
Commit
e80f9027
authored
Feb 26, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KC日志注解更新
parent
e0999391
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
29 deletions
+29
-29
ServiceHPKC004A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC004A.java
+3
-3
ServiceHPKC005A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC005A.java
+2
-2
ServiceHPKC007A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC007A.java
+3
-3
ServiceHPPZ006.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
+11
-11
ServiceHPPZ007.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
+6
-6
ServiceHPPZ008.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ008.java
+4
-4
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC004A.java
View file @
e80f9027
...
...
@@ -43,7 +43,7 @@ public class ServiceHPKC004A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"
销售出库单-库存查询-
初始化"
)
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -60,7 +60,7 @@ public class ServiceHPKC004A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"
销售出库单-库存查询-
查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -77,7 +77,7 @@ public class ServiceHPKC004A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"插入"
,
operDesc
=
"生成出库单"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"插入"
,
operDesc
=
"
销售出库单-库存查询-
生成出库单"
)
public
EiInfo
select
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC005A.java
View file @
e80f9027
...
...
@@ -60,7 +60,7 @@ public class ServiceHPKC005A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"
库存盘点单-库存查询-
查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -78,7 +78,7 @@ public class ServiceHPKC005A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"插入"
,
operDesc
=
"生成盘点单"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"插入"
,
operDesc
=
"
库存盘点单-库存查询-
生成盘点单"
)
public
EiInfo
select
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC007A.java
View file @
e80f9027
...
...
@@ -45,7 +45,7 @@ public class ServiceHPKC007A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"
其他出库单-库存查询-
初始化"
)
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -68,7 +68,7 @@ public class ServiceHPKC007A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"
其他出库单-库存查询-
查询"
)
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
...
...
@@ -87,7 +87,7 @@ public class ServiceHPKC007A extends ServiceEPBase {
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"插入"
,
operDesc
=
"生成出库单"
)
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"插入"
,
operDesc
=
"
其他出库单-库存查询-
生成出库单"
)
public
EiInfo
select
(
EiInfo
inInfo
)
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
View file @
e80f9027
...
...
@@ -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
<>();
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
View file @
e80f9027
...
...
@@ -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"
));
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ008.java
View file @
e80f9027
...
...
@@ -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
{
...
...
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