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
93628cea
Commit
93628cea
authored
Feb 23, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SC日志注解
parent
e2172dd1
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
90 additions
and
3 deletions
+90
-3
ServiceHPRZ001.java
.../java/com/baosight/hpjx/hp/rz/service/ServiceHPRZ001.java
+2
-0
ServiceHPSC002.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
+13
-1
ServiceHPSC002A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
+5
-0
ServiceHPSC002B.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002B.java
+5
-0
ServiceHPSC003.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
+10
-0
ServiceHPSC004.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC004.java
+10
-1
ServiceHPSC005.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005.java
+5
-0
ServiceHPSC005A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
+10
-0
ServiceHPSC005B.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005B.java
+3
-0
ServiceHPSC005C.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
+3
-0
ServiceHPSC006.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
+9
-1
ServiceHPSC007.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC007.java
+6
-0
ServiceHPSC011.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC011.java
+3
-0
ServiceHPSC098.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC098.java
+3
-0
ServiceHPSC099.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC099.java
+3
-0
No files found.
src/main/java/com/baosight/hpjx/hp/rz/service/ServiceHPRZ001.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
rz
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
rz
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.InventTypeEnum
;
import
com.baosight.hpjx.common.InventTypeEnum
;
...
@@ -68,6 +69,7 @@ public class ServiceHPRZ001 extends ServiceBase {
...
@@ -68,6 +69,7 @@ public class ServiceHPRZ001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"日志管理"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
queryOperModulComboBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryOperModulComboBox
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
...
@@ -46,6 +47,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -46,6 +47,7 @@ public class ServiceHPSC002 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
...
@@ -63,6 +65,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -63,6 +65,7 @@ public class ServiceHPSC002 extends ServiceBase {
/**
/**
* 查询操作.
* 查询操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -76,6 +79,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -76,6 +79,7 @@ public class ServiceHPSC002 extends ServiceBase {
/**
/**
* 新增操作.
* 新增操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"新增"
,
operDesc
=
"新增操作"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -127,6 +131,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -127,6 +131,7 @@ public class ServiceHPSC002 extends ServiceBase {
/**
/**
* 修改操作.
* 修改操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"修改"
,
operDesc
=
"修改操作"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
HPSC002
hppz002
=
new
HPSC002
();
HPSC002
hppz002
=
new
HPSC002
();
...
@@ -163,6 +168,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -163,6 +168,7 @@ public class ServiceHPSC002 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
@@ -204,6 +210,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -204,6 +210,7 @@ public class ServiceHPSC002 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"查询"
,
operDesc
=
"指定树节点"
)
public
EiInfo
queryTreeRoot
(
EiInfo
inInfo
)
{
public
EiInfo
queryTreeRoot
(
EiInfo
inInfo
)
{
Long
projId
=
NumberUtils
.
toLong
(
inInfo
.
get
(
"projId"
));
Long
projId
=
NumberUtils
.
toLong
(
inInfo
.
get
(
"projId"
));
Map
queryMap
=
new
HashMap
();
Map
queryMap
=
new
HashMap
();
...
@@ -217,7 +224,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -217,7 +224,7 @@ public class ServiceHPSC002 extends ServiceBase {
inInfo
.
set
(
"root"
,
root
);
inInfo
.
set
(
"root"
,
root
);
return
inInfo
;
return
inInfo
;
}
}
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"查询"
,
operDesc
=
"树查询服务"
)
//树查询服务
//树查询服务
public
EiInfo
queryTreeNode
(
EiInfo
inInfo
)
{
public
EiInfo
queryTreeNode
(
EiInfo
inInfo
)
{
//1 获取参数
//1 获取参数
...
@@ -251,6 +258,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -251,6 +258,7 @@ public class ServiceHPSC002 extends ServiceBase {
*
*
* @param id
* @param id
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"修改"
,
operDesc
=
"修改节点状态,是叶子或非叶子节点"
)
public
void
checkTreeNodeLeaf
(
String
id
)
{
public
void
checkTreeNodeLeaf
(
String
id
)
{
//1 获取参数
//1 获取参数
Map
queryMap
=
new
HashMap
();
Map
queryMap
=
new
HashMap
();
...
@@ -267,6 +275,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -267,6 +275,7 @@ public class ServiceHPSC002 extends ServiceBase {
/**
/**
* 提交 撤回.
* 提交 撤回.
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"提交"
,
operDesc
=
"提交 撤回"
)
public
EiInfo
check
(
EiInfo
eiInfo
)
{
public
EiInfo
check
(
EiInfo
eiInfo
)
{
HPSC002
hppz002
=
new
HPSC002
();
HPSC002
hppz002
=
new
HPSC002
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
...
@@ -349,6 +358,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -349,6 +358,7 @@ public class ServiceHPSC002 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"绑定"
,
operDesc
=
"绑定附件"
)
public
EiInfo
bindDocIdById
(
EiInfo
inInfo
)
{
public
EiInfo
bindDocIdById
(
EiInfo
inInfo
)
{
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
try
{
try
{
...
@@ -375,6 +385,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -375,6 +385,7 @@ public class ServiceHPSC002 extends ServiceBase {
*
*
* @param id 生产ID
* @param id 生产ID
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"新增"
,
operDesc
=
"生成生产计划"
)
public
void
autoPlanInfo
(
String
id
)
{
public
void
autoPlanInfo
(
String
id
)
{
String
planNo
;
String
planNo
;
HPSC002
dbSc002
=
HPSCTools
.
HpSc002
.
get
(
Long
.
parseLong
(
id
));
HPSC002
dbSc002
=
HPSCTools
.
HpSc002
.
get
(
Long
.
parseLong
(
id
));
...
@@ -415,6 +426,7 @@ public class ServiceHPSC002 extends ServiceBase {
...
@@ -415,6 +426,7 @@ public class ServiceHPSC002 extends ServiceBase {
* @param inInfo 形参
* @param inInfo 形参
* @return 返回集合
* @return 返回集合
*/
*/
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"查询"
,
operDesc
=
"部件类型下拉框"
)
public
EiInfo
queryPrdtTypeBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryPrdtTypeBox
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
...
@@ -38,6 +39,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -38,6 +39,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
// 查询物料ID所对应的项目名称和部件名称
// 查询物料ID所对应的项目名称和部件名称
...
@@ -76,6 +78,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -76,6 +78,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -92,6 +95,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -92,6 +95,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"新增"
,
operDesc
=
"新增操作"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -115,6 +119,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -115,6 +119,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002B.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002A
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002A
;
...
@@ -27,6 +28,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -27,6 +28,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
// 查询物料ID所对应的项目名称和部件名称
// 查询物料ID所对应的项目名称和部件名称
...
@@ -51,6 +53,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -51,6 +53,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -67,6 +70,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -67,6 +70,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -90,6 +94,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -90,6 +94,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.HPConstants
;
import
com.baosight.hpjx.common.HPConstants
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
...
@@ -47,6 +48,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -47,6 +48,7 @@ public class ServiceHPSC003 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
,
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
,
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"inventType"
,
4
);}});
new
HashMap
<
String
,
Object
>(){{
put
(
"inventType"
,
4
);}});
...
@@ -59,6 +61,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -59,6 +61,7 @@ public class ServiceHPSC003 extends ServiceBase {
/**
/**
* 查询操作.
* 查询操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -76,6 +79,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -76,6 +79,7 @@ public class ServiceHPSC003 extends ServiceBase {
/**
/**
* 新增操作.
* 新增操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
...
@@ -108,6 +112,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -108,6 +112,7 @@ public class ServiceHPSC003 extends ServiceBase {
/**
/**
* 修改操作.
* 修改操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"修改"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
HPSC003
HPSC003
=
new
HPSC003
();
HPSC003
HPSC003
=
new
HPSC003
();
...
@@ -137,6 +142,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -137,6 +142,7 @@ public class ServiceHPSC003 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"修改"
,
operDesc
=
"修改计划明细"
)
public
EiInfo
updatePlanDetail
(
EiInfo
inInfo
)
{
public
EiInfo
updatePlanDetail
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
CommonConstant
.
Field
.
DETAIL
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
CommonConstant
.
Field
.
DETAIL
).
getRows
();
...
@@ -170,6 +176,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -170,6 +176,7 @@ public class ServiceHPSC003 extends ServiceBase {
* @param eiInfo
* @param eiInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"根据ID获取详情"
)
public
EiInfo
getInfo
(
EiInfo
eiInfo
)
{
public
EiInfo
getInfo
(
EiInfo
eiInfo
)
{
Map
map
=
new
HashMap
();
Map
map
=
new
HashMap
();
String
id
=
eiInfo
.
get
(
"id"
).
toString
();
String
id
=
eiInfo
.
get
(
"id"
).
toString
();
...
@@ -185,6 +192,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -185,6 +192,7 @@ public class ServiceHPSC003 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"提交"
,
operDesc
=
"提交生产计划"
)
public
EiInfo
submitPlan
(
EiInfo
inInfo
)
{
public
EiInfo
submitPlan
(
EiInfo
inInfo
)
{
try
{
try
{
Long
id
=
Long
.
parseLong
(
inInfo
.
getString
(
"id"
));
Long
id
=
Long
.
parseLong
(
inInfo
.
getString
(
"id"
));
...
@@ -218,6 +226,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -218,6 +226,7 @@ public class ServiceHPSC003 extends ServiceBase {
* @param dbSc003
* @param dbSc003
* @param dbSc004
* @param dbSc004
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"新增"
,
operDesc
=
"生成任务订单"
)
private
HPSC005
addSc005
(
HPSC003
dbSc003
,
HPSC004
dbSc004
)
{
private
HPSC005
addSc005
(
HPSC003
dbSc003
,
HPSC004
dbSc004
)
{
HPSC005
newSc005
=
BeanUtils
.
copy
(
dbSc003
,
HPSC005
.
class
);
HPSC005
newSc005
=
BeanUtils
.
copy
(
dbSc003
,
HPSC005
.
class
);
newSc005
.
setProdOrderNo
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
HPSC005_PROD_NO
));
newSc005
.
setProdOrderNo
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
HPSC005_PROD_NO
));
...
@@ -250,6 +259,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -250,6 +259,7 @@ public class ServiceHPSC003 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"部件下拉框"
)
public
EiInfo
queryInventComboBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryInventComboBox
(
EiInfo
inInfo
)
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
list
.
add
(
DdynamicEnum
.
INVENT_RECORD_BLOCK_ID
);
list
.
add
(
DdynamicEnum
.
INVENT_RECORD_BLOCK_ID
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC004.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.sc.domain.HPSC003
;
import
com.baosight.hpjx.hp.sc.domain.HPSC003
;
...
@@ -26,6 +27,7 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -26,6 +27,7 @@ public class ServiceHPSC004 extends ServiceBase {
/**
/**
* 画面初始化.
* 画面初始化.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
HPSC004
HPSC004
=
new
HPSC004
();
HPSC004
HPSC004
=
new
HPSC004
();
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
HPSC004
);
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
HPSC004
);
...
@@ -37,6 +39,8 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -37,6 +39,8 @@ public class ServiceHPSC004 extends ServiceBase {
/**
/**
* 查询操作.
* 查询操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
/* 调用EI查询方法.*/
...
@@ -48,6 +52,7 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -48,6 +52,7 @@ public class ServiceHPSC004 extends ServiceBase {
/**
/**
* 新增操作.
* 新增操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"新增"
,
operDesc
=
"新增操作"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -75,6 +80,7 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -75,6 +80,7 @@ public class ServiceHPSC004 extends ServiceBase {
/**
/**
* 修改操作.
* 修改操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"修改"
,
operDesc
=
"修改操作"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
HPSC004
HPSC004
=
new
HPSC004
();
HPSC004
HPSC004
=
new
HPSC004
();
...
@@ -99,6 +105,7 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -99,6 +105,7 @@ public class ServiceHPSC004 extends ServiceBase {
/**
/**
* 删除操作.
* 删除操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
HPSC004
HPSC004
=
new
HPSC004
();
HPSC004
HPSC004
=
new
HPSC004
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
...
@@ -121,7 +128,7 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -121,7 +128,7 @@ public class ServiceHPSC004 extends ServiceBase {
eiInfo
.
setMsg
(
"删除成功!"
);
eiInfo
.
setMsg
(
"删除成功!"
);
return
eiInfo
;
return
eiInfo
;
}
}
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"查询明细"
)
public
EiInfo
queryDetail
(
EiInfo
inInfo
){
public
EiInfo
queryDetail
(
EiInfo
inInfo
){
HPSC004
HPSC004
=
new
HPSC004
();
HPSC004
HPSC004
=
new
HPSC004
();
EiInfo
outInfo
=
new
EiInfo
();
EiInfo
outInfo
=
new
EiInfo
();
...
@@ -141,6 +148,7 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -141,6 +148,7 @@ public class ServiceHPSC004 extends ServiceBase {
* @param eiInfo
* @param eiInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"提交"
,
operDesc
=
"计划提交验证"
)
public
EiInfo
inspectDetail
(
EiInfo
eiInfo
)
{
public
EiInfo
inspectDetail
(
EiInfo
eiInfo
)
{
Map
map
=
new
HashMap
();
Map
map
=
new
HashMap
();
String
id
=
eiInfo
.
get
(
"id"
).
toString
();
String
id
=
eiInfo
.
get
(
"id"
).
toString
();
...
@@ -156,6 +164,7 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -156,6 +164,7 @@ public class ServiceHPSC004 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产计划"
,
operType
=
"查询"
,
operDesc
=
"部件下拉框"
)
public
EiInfo
queryInventComboBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryInventComboBox
(
EiInfo
inInfo
)
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
list
.
add
(
DdynamicEnum
.
SUB_INVENT_RECORD_BLOCK_ID
);
list
.
add
(
DdynamicEnum
.
SUB_INVENT_RECORD_BLOCK_ID
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.hpjx.util.CommonMethod
;
...
@@ -27,6 +28,7 @@ public class ServiceHPSC005 extends ServiceBase {
...
@@ -27,6 +28,7 @@ public class ServiceHPSC005 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产订单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005
().
eiMetadata
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005
().
eiMetadata
);
...
@@ -42,6 +44,7 @@ public class ServiceHPSC005 extends ServiceBase {
...
@@ -42,6 +44,7 @@ public class ServiceHPSC005 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产订单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -61,6 +64,7 @@ public class ServiceHPSC005 extends ServiceBase {
...
@@ -61,6 +64,7 @@ public class ServiceHPSC005 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产订单"
,
operType
=
"查询"
,
operDesc
=
"项目下拉框"
)
public
EiInfo
queryProjComboBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryProjComboBox
(
EiInfo
inInfo
)
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
list
.
add
(
DdynamicEnum
.
PROJ_PROD_BLOCK_ID
);
list
.
add
(
DdynamicEnum
.
PROJ_PROD_BLOCK_ID
);
...
@@ -74,6 +78,7 @@ public class ServiceHPSC005 extends ServiceBase {
...
@@ -74,6 +78,7 @@ public class ServiceHPSC005 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产订单"
,
operType
=
"查询"
,
operDesc
=
"生产组下拉框"
)
public
EiInfo
queryOrgComboBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryOrgComboBox
(
EiInfo
inInfo
)
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
list
.
add
(
DdynamicEnum
.
ORG_PROD_BLOCK_ID
);
list
.
add
(
DdynamicEnum
.
ORG_PROD_BLOCK_ID
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.ProdOrderStatusEnum
;
import
com.baosight.hpjx.common.ProdOrderStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
...
@@ -41,6 +42,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -41,6 +42,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
@@ -61,6 +63,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -61,6 +63,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -77,6 +80,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -77,6 +80,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"新增操作"
)
public
EiInfo
save
(
EiInfo
inInfo
)
{
public
EiInfo
save
(
EiInfo
inInfo
)
{
try
{
try
{
Map
detailMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
,
CommonConstant
.
Field
.
DETAIL
);
Map
detailMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
,
CommonConstant
.
Field
.
DETAIL
);
...
@@ -119,6 +123,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -119,6 +123,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param dbSc005
* @param dbSc005
* @param fSc005a
* @param fSc005a
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
private
void
add
(
HPSC005
dbSc005
,
HPSC005A
fSc005a
)
{
private
void
add
(
HPSC005
dbSc005
,
HPSC005A
fSc005a
)
{
String
prodOrderNo
=
dbSc005
.
getProdOrderNo
();
String
prodOrderNo
=
dbSc005
.
getProdOrderNo
();
// 数据校验
// 数据校验
...
@@ -143,6 +148,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -143,6 +148,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param fSc005a
* @param fSc005a
* @param mapSc005a
* @param mapSc005a
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"修改"
,
operDesc
=
"修改数据"
)
private
void
modify
(
HPSC005
dbSc005
,
HPSC005A
fSc005a
,
Map
<
String
,
HPSC005A
>
mapSc005a
)
{
private
void
modify
(
HPSC005
dbSc005
,
HPSC005A
fSc005a
,
Map
<
String
,
HPSC005A
>
mapSc005a
)
{
String
prodOrderNo
=
dbSc005
.
getProdOrderNo
();
String
prodOrderNo
=
dbSc005
.
getProdOrderNo
();
// 数据校验
// 数据校验
...
@@ -164,6 +170,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -164,6 +170,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
try
{
Map
detailMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
,
CommonConstant
.
Field
.
DETAIL
);
Map
detailMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
,
CommonConstant
.
Field
.
DETAIL
);
...
@@ -197,6 +204,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -197,6 +204,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"刷新"
,
operDesc
=
"刷新主订单信息"
)
private
EiInfo
refreshOrderInfo
(
EiInfo
inInfo
,
String
prodOrderNo
)
{
private
EiInfo
refreshOrderInfo
(
EiInfo
inInfo
,
String
prodOrderNo
)
{
HPSC005
dbSc005
=
HPSCTools
.
HpSc005
.
get
(
prodOrderNo
);
HPSC005
dbSc005
=
HPSCTools
.
HpSc005
.
get
(
prodOrderNo
);
inInfo
.
addBlock
(
CommonConstant
.
Field
.
DETAIL
).
addRow
(
dbSc005
);
inInfo
.
addBlock
(
CommonConstant
.
Field
.
DETAIL
).
addRow
(
dbSc005
);
...
@@ -209,6 +217,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -209,6 +217,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"分派"
)
public
EiInfo
assign
(
EiInfo
inInfo
)
{
public
EiInfo
assign
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
String
>
orderIds
=
(
List
<
String
>)
inInfo
.
get
(
"ids"
);
List
<
String
>
orderIds
=
(
List
<
String
>)
inInfo
.
get
(
"ids"
);
...
@@ -257,6 +266,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -257,6 +266,7 @@ public class ServiceHPSC005A extends ServiceBase {
*
*
* @param fSc005a
* @param fSc005a
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"设置"
,
operDesc
=
"设置基础信息"
)
private
void
setBaseInfo
(
HPSC005A
fSc005a
)
{
private
void
setBaseInfo
(
HPSC005A
fSc005a
)
{
// 厂区名称
// 厂区名称
fSc005a
.
setFactoryName
(
HPPZTools
.
HpPz011
.
getFactoryName
(
fSc005a
.
getFactoryCode
()));
fSc005a
.
setFactoryName
(
HPPZTools
.
HpPz011
.
getFactoryName
(
fSc005a
.
getFactoryCode
()));
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005B.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005B
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005B
;
import
com.baosight.hpjx.util.LogUtils
;
import
com.baosight.hpjx.util.LogUtils
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
...
@@ -20,6 +21,7 @@ public class ServiceHPSC005B extends ServiceBase {
...
@@ -20,6 +21,7 @@ public class ServiceHPSC005B extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产任务"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005B
().
eiMetadata
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005B
().
eiMetadata
);
...
@@ -35,6 +37,7 @@ public class ServiceHPSC005B extends ServiceBase {
...
@@ -35,6 +37,7 @@ public class ServiceHPSC005B extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产任务"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ011
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ011
;
...
@@ -35,6 +36,7 @@ public class ServiceHPSC005C extends ServiceBase {
...
@@ -35,6 +36,7 @@ public class ServiceHPSC005C extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
@@ -55,6 +57,7 @@ public class ServiceHPSC005C extends ServiceBase {
...
@@ -55,6 +57,7 @@ public class ServiceHPSC005C extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.HPConstants
;
import
com.baosight.hpjx.common.HPConstants
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
...
@@ -37,6 +38,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -37,6 +38,7 @@ public class ServiceHPSC006 extends ServiceBase {
/**
/**
* 画面初始化.
* 画面初始化.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
HPSC005
HPSC005
=
new
HPSC005
();
HPSC005
HPSC005
=
new
HPSC005
();
...
@@ -52,6 +54,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -52,6 +54,7 @@ public class ServiceHPSC006 extends ServiceBase {
/**
/**
* 查询操作.
* 查询操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
HPSC005
HPSC005
=
new
HPSC005
();
HPSC005
HPSC005
=
new
HPSC005
();
...
@@ -62,7 +65,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -62,7 +65,7 @@ public class ServiceHPSC006 extends ServiceBase {
return
outInfo
;
return
outInfo
;
}
}
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"查询"
,
operDesc
=
"查询明细"
)
public
EiInfo
queryDetail
(
EiInfo
inInfo
){
public
EiInfo
queryDetail
(
EiInfo
inInfo
){
HPSC006
HPSC006
=
new
HPSC006
();
HPSC006
HPSC006
=
new
HPSC006
();
EiInfo
outInfo
=
new
EiInfo
();
EiInfo
outInfo
=
new
EiInfo
();
...
@@ -80,6 +83,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -80,6 +83,7 @@ public class ServiceHPSC006 extends ServiceBase {
/**
/**
* 新增操作.
* 新增操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -121,6 +125,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -121,6 +125,7 @@ public class ServiceHPSC006 extends ServiceBase {
/**
/**
* 修改操作.
* 修改操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"修改"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
HPSC006
HPSC006
=
new
HPSC006
();
HPSC006
HPSC006
=
new
HPSC006
();
...
@@ -158,6 +163,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -158,6 +163,7 @@ public class ServiceHPSC006 extends ServiceBase {
/**
/**
* 删除操作.
* 删除操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
HPSC006
HPSC006
=
new
HPSC006
();
HPSC006
HPSC006
=
new
HPSC006
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
...
@@ -185,6 +191,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -185,6 +191,7 @@ public class ServiceHPSC006 extends ServiceBase {
/**
/**
* 绑定附件
* 绑定附件
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"绑定"
,
operDesc
=
"绑定附件"
)
public
EiInfo
bindDocIdById
(
EiInfo
eiInfo
)
{
public
EiInfo
bindDocIdById
(
EiInfo
eiInfo
)
{
HPSC006
HPSC006
=
new
HPSC006
();
HPSC006
HPSC006
=
new
HPSC006
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
...
@@ -215,6 +222,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -215,6 +222,7 @@ public class ServiceHPSC006 extends ServiceBase {
* @param eiInfo
* @param eiInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产下料"
,
operType
=
"新增"
,
operDesc
=
"分派"
)
public
EiInfo
assign
(
EiInfo
eiInfo
)
{
public
EiInfo
assign
(
EiInfo
eiInfo
)
{
try
{
try
{
String
ids
=
eiInfo
.
get
(
"ids"
).
toString
();
String
ids
=
eiInfo
.
get
(
"ids"
).
toString
();
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC007.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
...
@@ -31,6 +32,7 @@ public class ServiceHPSC007 extends ServiceBase {
...
@@ -31,6 +32,7 @@ public class ServiceHPSC007 extends ServiceBase {
/**
/**
* 画面初始化.
* 画面初始化.
*/
*/
@OperationLogAnnotation
(
operModul
=
"下料登记"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
@@ -52,6 +54,7 @@ public class ServiceHPSC007 extends ServiceBase {
...
@@ -52,6 +54,7 @@ public class ServiceHPSC007 extends ServiceBase {
/**
/**
* 查询操作.
* 查询操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"下料登记"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
/* 调用EI查询方法.*/
...
@@ -63,6 +66,7 @@ public class ServiceHPSC007 extends ServiceBase {
...
@@ -63,6 +66,7 @@ public class ServiceHPSC007 extends ServiceBase {
/**
/**
* 新增操作.
* 新增操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"下料登记"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -120,6 +124,7 @@ public class ServiceHPSC007 extends ServiceBase {
...
@@ -120,6 +124,7 @@ public class ServiceHPSC007 extends ServiceBase {
/**
/**
* 修改操作.
* 修改操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"下料登记"
,
operType
=
"修改"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
HPSC006
HPSC006
=
new
HPSC006
();
HPSC006
HPSC006
=
new
HPSC006
();
...
@@ -178,6 +183,7 @@ public class ServiceHPSC007 extends ServiceBase {
...
@@ -178,6 +183,7 @@ public class ServiceHPSC007 extends ServiceBase {
/**
/**
* 删除操作.
* 删除操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"下料登记"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
try
{
HPSC006
HPSC006
=
new
HPSC006
();
HPSC006
HPSC006
=
new
HPSC006
();
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC011.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.sc.domain.HPSC001
;
import
com.baosight.hpjx.hp.sc.domain.HPSC001
;
...
@@ -21,6 +22,7 @@ public class ServiceHPSC011 extends ServiceBase {
...
@@ -21,6 +22,7 @@ public class ServiceHPSC011 extends ServiceBase {
/**
/**
* 画面初始化.
* 画面初始化.
*/
*/
@OperationLogAnnotation
(
operModul
=
"项目档案"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
0
,
"status"
,
1
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
0
,
"status"
,
1
);
...
@@ -40,6 +42,7 @@ public class ServiceHPSC011 extends ServiceBase {
...
@@ -40,6 +42,7 @@ public class ServiceHPSC011 extends ServiceBase {
/**
/**
* 查询操作.
* 查询操作.
*/
*/
@OperationLogAnnotation
(
operModul
=
"项目档案"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
/* 调用EI查询方法.*/
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC098.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ011
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ011
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.hpjx.util.CommonMethod
;
...
@@ -24,6 +25,7 @@ public class ServiceHPSC098 extends ServiceBase {
...
@@ -24,6 +25,7 @@ public class ServiceHPSC098 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"组织机构"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
new
HashMap
();
Map
queryMap
=
new
HashMap
();
...
@@ -43,6 +45,7 @@ public class ServiceHPSC098 extends ServiceBase {
...
@@ -43,6 +45,7 @@ public class ServiceHPSC098 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"组织机构"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC099.java
View file @
93628cea
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
...
@@ -12,6 +13,7 @@ public class ServiceHPSC099 extends ServiceBase {
...
@@ -12,6 +13,7 @@ public class ServiceHPSC099 extends ServiceBase {
/**
/**
* 画面初始化.
* 画面初始化.
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件上传"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
return
inInfo
;
return
inInfo
;
}
}
...
@@ -20,6 +22,7 @@ public class ServiceHPSC099 extends ServiceBase {
...
@@ -20,6 +22,7 @@ public class ServiceHPSC099 extends ServiceBase {
/**
/**
* 附件上传.
* 附件上传.
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件上传"
,
operType
=
"上传"
,
operDesc
=
"附件上传"
)
public
EiInfo
form
(
EiInfo
inInfo
)
{
public
EiInfo
form
(
EiInfo
inInfo
)
{
return
inInfo
;
return
inInfo
;
}
}
...
...
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