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
83c1b227
Commit
83c1b227
authored
Feb 26, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SC日志注解更新
parent
e56e514c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
19 deletions
+21
-19
ServiceHPSC002A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
+4
-4
ServiceHPSC002B.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002B.java
+4
-4
ServiceHPSC005A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
+9
-9
ServiceHPSC005C.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
+2
-2
ServiceHPSC005D.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005D.java
+2
-0
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
View file @
83c1b227
...
@@ -39,7 +39,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -39,7 +39,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"
物料清单-附件清单A-
初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
// 查询物料ID所对应的项目名称和部件名称
// 查询物料ID所对应的项目名称和部件名称
...
@@ -78,7 +78,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -78,7 +78,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"
物料清单-附件清单A-
查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -95,7 +95,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -95,7 +95,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"新增"
,
operDesc
=
"新增操作"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"新增"
,
operDesc
=
"
物料清单-附件清单A-
新增操作"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -119,7 +119,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
...
@@ -119,7 +119,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"删除"
,
operDesc
=
"
物料清单-附件清单A-
删除操作"
)
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 @
83c1b227
...
@@ -28,7 +28,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -28,7 +28,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"
物料清单-附件清单B-
初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
// 查询物料ID所对应的项目名称和部件名称
// 查询物料ID所对应的项目名称和部件名称
...
@@ -53,7 +53,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -53,7 +53,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"查询"
,
operDesc
=
"
物料清单-附件清单B-
查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -70,7 +70,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -70,7 +70,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"新增"
,
operDesc
=
"
物料清单-附件清单B-
新增"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -94,7 +94,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
...
@@ -94,7 +94,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"附件清单"
,
operType
=
"删除"
,
operDesc
=
"
物料清单-附件清单B-
删除"
)
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/ServiceHPSC005A.java
View file @
83c1b227
...
@@ -42,7 +42,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -42,7 +42,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"
生产订单-拆单派工A-
初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
@@ -63,7 +63,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -63,7 +63,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"
生产订单-拆单派工A-
查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -80,7 +80,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -80,7 +80,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"新增操作"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"
生产订单-拆单派工A-
新增操作"
)
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
);
...
@@ -123,7 +123,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -123,7 +123,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param dbSc005
* @param dbSc005
* @param fSc005a
* @param fSc005a
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"
生产订单-拆单派工A-
新增"
)
private
void
add
(
HPSC005
dbSc005
,
HPSC005A
fSc005a
)
{
private
void
add
(
HPSC005
dbSc005
,
HPSC005A
fSc005a
)
{
String
prodOrderNo
=
dbSc005
.
getProdOrderNo
();
String
prodOrderNo
=
dbSc005
.
getProdOrderNo
();
// 数据校验
// 数据校验
...
@@ -148,7 +148,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -148,7 +148,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param fSc005a
* @param fSc005a
* @param mapSc005a
* @param mapSc005a
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"修改"
,
operDesc
=
"修改数据"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"修改"
,
operDesc
=
"
生产订单-拆单派工A-
修改数据"
)
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
();
// 数据校验
// 数据校验
...
@@ -170,7 +170,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -170,7 +170,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"删除"
,
operDesc
=
"删除操作"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"删除"
,
operDesc
=
"
生产订单-拆单派工A-
删除操作"
)
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
);
...
@@ -204,7 +204,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -204,7 +204,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"刷新"
,
operDesc
=
"刷新主订单信息"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"刷新"
,
operDesc
=
"
生产订单-拆单派工A-
刷新主订单信息"
)
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
);
...
@@ -217,7 +217,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -217,7 +217,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"分派"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"新增"
,
operDesc
=
"
生产订单-拆单派工A-
分派"
)
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"
);
...
@@ -266,7 +266,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -266,7 +266,7 @@ public class ServiceHPSC005A extends ServiceBase {
*
*
* @param fSc005a
* @param fSc005a
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"设置"
,
operDesc
=
"设置基础信息"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"设置"
,
operDesc
=
"
生产订单-拆单派工A-
设置基础信息"
)
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/ServiceHPSC005C.java
View file @
83c1b227
...
@@ -36,7 +36,7 @@ public class ServiceHPSC005C extends ServiceBase {
...
@@ -36,7 +36,7 @@ public class ServiceHPSC005C extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"
生产订单-拆单派工C-
初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
@@ -57,7 +57,7 @@ public class ServiceHPSC005C extends ServiceBase {
...
@@ -57,7 +57,7 @@ public class ServiceHPSC005C extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"拆单派工"
,
operType
=
"查询"
,
operDesc
=
"
生产订单-拆单派工C-
查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005D.java
View file @
83c1b227
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.HPSC005A
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005A
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005B
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005B
;
import
com.baosight.hpjx.hp.sc.tools.HPSCTools
;
import
com.baosight.hpjx.hp.sc.tools.HPSCTools
;
...
@@ -25,6 +26,7 @@ public class ServiceHPSC005D extends ServiceBase {
...
@@ -25,6 +26,7 @@ public class ServiceHPSC005D 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
);
...
...
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