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
718d84a9
Commit
718d84a9
authored
Feb 23, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZL日志注解
parent
93628cea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
0 deletions
+21
-0
ServiceHPXSUser.java
...java/com/baosight/hpjx/hp/xs/service/ServiceHPXSUser.java
+4
-0
ServiceHPZL001.java
.../java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
+8
-0
ServiceHPZL001A.java
...java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001A.java
+5
-0
ServiceHPZL001B.java
...java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001B.java
+4
-0
No files found.
src/main/java/com/baosight/hpjx/hp/xs/service/ServiceHPXSUser.java
View file @
718d84a9
package
com
.
baosight
.
hpjx
.
hp
.
xs
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
xs
.
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.xs.domain.User
;
import
com.baosight.hpjx.hp.xs.domain.User
;
...
@@ -28,6 +29,7 @@ public class ServiceHPXSUser extends ServiceBase {
...
@@ -28,6 +29,7 @@ public class ServiceHPXSUser extends ServiceBase {
* @param eiInfo
* @param eiInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"用户信息"
,
operType
=
"查询"
,
operDesc
=
"获取用户信息"
)
public
EiInfo
getUser
(
EiInfo
eiInfo
)
{
public
EiInfo
getUser
(
EiInfo
eiInfo
)
{
EiInfo
outInfo
=
new
EiInfo
();
EiInfo
outInfo
=
new
EiInfo
();
int
status
=
0
;
int
status
=
0
;
...
@@ -62,6 +64,7 @@ public class ServiceHPXSUser extends ServiceBase {
...
@@ -62,6 +64,7 @@ public class ServiceHPXSUser extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"用户信息"
,
operType
=
"查询"
,
operDesc
=
"查询用户下拉框"
)
public
EiInfo
queryComboBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryComboBox
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
@@ -81,6 +84,7 @@ public class ServiceHPXSUser extends ServiceBase {
...
@@ -81,6 +84,7 @@ public class ServiceHPXSUser extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"用户信息"
,
operType
=
"查询"
,
operDesc
=
"查询用户的企业下拉框"
)
public
EiInfo
queryCompanyComboBox
(
EiInfo
inInfo
)
{
public
EiInfo
queryCompanyComboBox
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
...
src/main/java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
View file @
718d84a9
package
com
.
baosight
.
hpjx
.
hp
.
zl
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
zl
.
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
;
...
@@ -36,6 +37,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -36,6 +37,7 @@ public class ServiceHPZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"质量巡检单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
PROJ_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
PROJ_RECORD_BLOCK_ID
),
null
);
...
@@ -56,6 +58,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -56,6 +58,7 @@ public class ServiceHPZL001 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
{
...
@@ -76,6 +79,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -76,6 +79,7 @@ public class ServiceHPZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"质量巡检单"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@Override
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -108,6 +112,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -108,6 +112,7 @@ public class ServiceHPZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"质量巡检单"
,
operType
=
"修改"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
@@ -136,6 +141,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -136,6 +141,7 @@ public class ServiceHPZL001 extends ServiceBase {
*
*
* @param fZl001
* @param fZl001
*/
*/
@OperationLogAnnotation
(
operModul
=
"质量巡检单"
,
operType
=
"设置"
,
operDesc
=
"设置基础信息"
)
private
void
setBaseInfo
(
HPZL001
fZl001
)
{
private
void
setBaseInfo
(
HPZL001
fZl001
)
{
// 项目名称
// 项目名称
// fZl001.setProjName(HPSCTools.HpSc001.get(fZl001.getProjCode()).getProjName());
// fZl001.setProjName(HPSCTools.HpSc001.get(fZl001.getProjCode()).getProjName());
...
@@ -156,6 +162,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -156,6 +162,7 @@ public class ServiceHPZL001 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
();
...
@@ -181,6 +188,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -181,6 +188,7 @@ public class ServiceHPZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"质量巡检单"
,
operType
=
"修改"
,
operDesc
=
"已处理"
)
public
EiInfo
doProcess
(
EiInfo
inInfo
)
{
public
EiInfo
doProcess
(
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/zl/service/ServiceHPZL001A.java
View file @
718d84a9
package
com
.
baosight
.
hpjx
.
hp
.
zl
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
zl
.
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.sc.domain.HPSC002
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002
;
...
@@ -31,6 +32,7 @@ public class ServiceHPZL001A extends ServiceEPBase {
...
@@ -31,6 +32,7 @@ public class ServiceHPZL001A 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所对应的项目名称和部件名称
...
@@ -53,6 +55,7 @@ public class ServiceHPZL001A extends ServiceEPBase {
...
@@ -53,6 +55,7 @@ public class ServiceHPZL001A 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
{
...
@@ -69,6 +72,7 @@ public class ServiceHPZL001A extends ServiceEPBase {
...
@@ -69,6 +72,7 @@ public class ServiceHPZL001A 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
{
...
@@ -96,6 +100,7 @@ public class ServiceHPZL001A extends ServiceEPBase {
...
@@ -96,6 +100,7 @@ public class ServiceHPZL001A 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/zl/service/ServiceHPZL001B.java
View file @
718d84a9
package
com
.
baosight
.
hpjx
.
hp
.
zl
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
zl
.
service
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
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
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
...
@@ -43,6 +44,7 @@ public class ServiceHPZL001B extends ServiceEPBase {
...
@@ -43,6 +44,7 @@ public class ServiceHPZL001B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产任务查询"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
@Override
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -59,6 +61,7 @@ public class ServiceHPZL001B extends ServiceEPBase {
...
@@ -59,6 +61,7 @@ public class ServiceHPZL001B 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
{
...
@@ -78,6 +81,7 @@ public class ServiceHPZL001B extends ServiceEPBase {
...
@@ -78,6 +81,7 @@ public class ServiceHPZL001B extends ServiceEPBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"生产任务查询"
,
operType
=
"新增"
,
operDesc
=
"生成巡检单"
)
public
EiInfo
select
(
EiInfo
inInfo
)
{
public
EiInfo
select
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
...
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