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
6c0add7d
Commit
6c0add7d
authored
Aug 12, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
54182c7d
8c2b9ef0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
15 deletions
+20
-15
DocRouteEnum.java
src/main/java/com/baosight/hpjx/core/enums/DocRouteEnum.java
+15
-10
ServiceHPSC106.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC106.java
+3
-3
HPSC106.jsp
src/main/webapp/HP/SC/HPSC106.jsp
+2
-2
No files found.
src/main/java/com/baosight/hpjx/core/enums/DocRouteEnum.java
View file @
6c0add7d
package
com
.
baosight
.
hpjx
.
core
.
enums
;
package
com
.
baosight
.
hpjx
.
core
.
enums
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002
;
import
com.baosight.hpjx.hp.sc.domain.HPSC006
;
import
com.baosight.hpjx.hp.sc.domain.HPSC006
;
import
com.baosight.hpjx.hp.sc.domain.HPSC102
;
import
com.baosight.hpjx.hp.sc.domain.HPSC102
;
...
@@ -9,18 +10,22 @@ import com.baosight.hpjx.hp.sc.domain.HPSC102;
...
@@ -9,18 +10,22 @@ import com.baosight.hpjx.hp.sc.domain.HPSC102;
* @date:2022/9/23,14:51
* @date:2022/9/23,14:51
*/
*/
public
enum
DocRouteEnum
{
public
enum
DocRouteEnum
{
HPSC002
(
"route_001"
,
""
,
1
,
"HPSC002"
,
"importData"
,
HPSC002
.
class
),
HPSC002
(
"route_001"
,
""
,
1
,
"HPSC002"
,
"importData"
,
HPSC002
.
class
),
HPSC006
(
"route_002"
,
""
,
1
,
"HPSC006"
,
"importData"
,
HPSC006
.
class
),
HPSC006
(
"route_002"
,
""
,
1
,
"HPSC006"
,
"importData"
,
HPSC006
.
class
),
HPSC102
(
"route_003"
,
""
,
1
,
"HPSC102"
,
"importData"
,
HPSC102
.
class
),
HPSC102
(
"route_003"
,
""
,
1
,
"HPSC102"
,
"importData"
,
HPSC102
.
class
)
;
;
/**
* 唯一标识
*/
private
String
id
;
private
String
id
;
/**
/**
* 模版文件的地址,模版文件路径必须在META-INF.resources下面
* 模版文件的地址,模版文件路径必须在META-INF.resources下面
*/
*/
private
String
templateUrl
;
private
String
templateUrl
;
/**
/**
* 数据从excel的第几行开始,起始0
* 数据从excel的第几行开始,起始0
*/
*/
...
@@ -40,7 +45,7 @@ public enum DocRouteEnum {
...
@@ -40,7 +45,7 @@ public enum DocRouteEnum {
* 数据转换后的实体类
* 数据转换后的实体类
*/
*/
private
Class
clazz
;
private
Class
clazz
;
<
T
>
DocRouteEnum
(
String
id
,
String
templateUrl
,
int
startRow
,
String
serviceNme
,
String
methodName
,
<
T
>
DocRouteEnum
(
String
id
,
String
templateUrl
,
int
startRow
,
String
serviceNme
,
String
methodName
,
Class
<
T
>
clazz
)
{
Class
<
T
>
clazz
)
{
this
.
id
=
id
;
this
.
id
=
id
;
...
@@ -50,7 +55,7 @@ public enum DocRouteEnum {
...
@@ -50,7 +55,7 @@ public enum DocRouteEnum {
this
.
methodName
=
methodName
;
this
.
methodName
=
methodName
;
this
.
clazz
=
clazz
;
this
.
clazz
=
clazz
;
}
}
/**
/**
* 根据ID获取枚举
* 根据ID获取枚举
*
*
...
@@ -65,11 +70,11 @@ public enum DocRouteEnum {
...
@@ -65,11 +70,11 @@ public enum DocRouteEnum {
}
}
return
null
;
return
null
;
}
}
public
String
getId
()
{
public
String
getId
()
{
return
id
;
return
id
;
}
}
public
String
getTemplateUrl
()
{
public
String
getTemplateUrl
()
{
return
templateUrl
;
return
templateUrl
;
}
}
...
@@ -81,11 +86,11 @@ public enum DocRouteEnum {
...
@@ -81,11 +86,11 @@ public enum DocRouteEnum {
public
String
getServiceNme
()
{
public
String
getServiceNme
()
{
return
serviceNme
;
return
serviceNme
;
}
}
public
String
getMethodName
()
{
public
String
getMethodName
()
{
return
methodName
;
return
methodName
;
}
}
public
Class
getClazz
()
{
public
Class
getClazz
()
{
return
clazz
;
return
clazz
;
}
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC106.java
View file @
6c0add7d
...
@@ -21,7 +21,7 @@ import java.util.Map;
...
@@ -21,7 +21,7 @@ import java.util.Map;
*/
*/
public
class
ServiceHPSC106
extends
ServiceEPBase
{
public
class
ServiceHPSC106
extends
ServiceEPBase
{
@OperationLogAnnotation
(
operModul
=
"生产报工
单
"
,
operType
=
"查询"
,
operDesc
=
"初始化页面"
)
@OperationLogAnnotation
(
operModul
=
"生产报工"
,
operType
=
"查询"
,
operDesc
=
"初始化页面"
)
@Override
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -35,7 +35,7 @@ public class ServiceHPSC106 extends ServiceEPBase {
...
@@ -35,7 +35,7 @@ public class ServiceHPSC106 extends ServiceEPBase {
/*
/*
* 查询*/
* 查询*/
@OperationLogAnnotation
(
operModul
=
"生产报工
单
"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"生产报工"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@Override
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
...
@@ -47,7 +47,7 @@ public class ServiceHPSC106 extends ServiceEPBase {
...
@@ -47,7 +47,7 @@ public class ServiceHPSC106 extends ServiceEPBase {
}
}
@Override
@Override
@OperationLogAnnotation
(
operModul
=
"生产报工
单
"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
@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/webapp/HP/SC/HPSC106.jsp
View file @
6c0add7d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="loginName" value="<%=loginName%>" />
<c:set var="loginName" value="<%=loginName%>" />
<EF:EFPage title="生产报工
单
">
<EF:EFPage title="生产报工">
<EF:EFRegion id="inqu" title="查询条件">
<EF:EFRegion id="inqu" title="查询条件">
<div class="row">
<div class="row">
<EF:EFInput blockId="inqu_status" row="0" ename="factoryName" cname="工厂区" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="factoryName" cname="工厂区" placeholder="模糊查询" colWidth="3"/>
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<EF:EFColumn ename="productName" cname="产品名称" width="100" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="productName" cname="产品名称" width="100" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="groupName" cname="生产组" width="100" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="groupName" cname="生产组" width="100" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="quantity" cname="数量" width="100" enable="false" format="{0:0}%" readonly="true" align="center"/>
<EF:EFColumn ename="quantity" cname="数量" width="100" enable="false" format="{0:0}%" readonly="true" align="center"/>
<EF:EFColumn ename="totalWeight" cname="
任务总重(KG)
" width="100" enable="false" format="{0:n2}" readonly="true" align="center"/>
<EF:EFColumn ename="totalWeight" cname="
重量
" width="100" enable="false" format="{0:n2}" readonly="true" align="center"/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
</EF:EFPage>
</EF:EFPage>
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