Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
8238c4c5
Commit
8238c4c5
authored
May 24, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
立项bugfix
parent
43d51395
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
14 deletions
+17
-14
ServiceHGSC001.java
.../java/com/baosight/hggp/hg/sc/service/ServiceHGSC001.java
+1
-1
ServiceHGSC005A.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC005A.java
+4
-1
HGSC005A.jsp
src/main/webapp/HG/SC/HGSC005A.jsp
+4
-4
HGSC006A.jsp
src/main/webapp/HG/SC/HGSC006A.jsp
+4
-4
HGSC006B.jsp
src/main/webapp/HG/SC/HGSC006B.jsp
+4
-4
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC001.java
View file @
8238c4c5
...
@@ -156,7 +156,7 @@ public class ServiceHGSC001 extends ServiceBase {
...
@@ -156,7 +156,7 @@ public class ServiceHGSC001 extends ServiceBase {
AssertUtils
.
isEmpty
(
hgsc001
.
getStartDate
(),
"请选择开工日期!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getStartDate
(),
"请选择开工日期!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getEndDate
(),
"请选择完工日期!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getEndDate
(),
"请选择完工日期!"
);
AssertUtils
.
isTrue
(
DateUtil
.
toDate
(
hgsc001
.
getEndDate
(),
DateUtil
.
DATE10_PATTERN
).
compareTo
(
AssertUtils
.
isTrue
(
DateUtil
.
toDate
(
hgsc001
.
getEndDate
(),
DateUtil
.
DATE10_PATTERN
).
compareTo
(
DateUtil
.
toDate
(
hgsc001
.
getStartDate
(),
DateUtil
.
DATE10_PATTERN
))
>
0
,
"完工日期不能大于开工日期!"
);
DateUtil
.
toDate
(
hgsc001
.
getStartDate
(),
DateUtil
.
DATE10_PATTERN
))
<
0
,
"完工日期不能大于开工日期!"
);
AssertUtils
.
isNull
(
hgsc001
.
getProjStatus
(),
"请选择项目状态!"
);
AssertUtils
.
isNull
(
hgsc001
.
getProjStatus
(),
"请选择项目状态!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getContractWorkTxt
(),
"请填写合同工作量!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getContractWorkTxt
(),
"请填写合同工作量!"
);
...
...
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC005A.java
View file @
8238c4c5
...
@@ -73,7 +73,10 @@ public class ServiceHGSC005A extends ServiceBase {
...
@@ -73,7 +73,10 @@ public class ServiceHGSC005A extends ServiceBase {
private
void
checkSaveData
(
List
<
HGSC005A
>
hgsc005AList
)
{
private
void
checkSaveData
(
List
<
HGSC005A
>
hgsc005AList
)
{
for
(
HGSC005A
hgsc005a
:
hgsc005AList
)
{
for
(
HGSC005A
hgsc005a
:
hgsc005AList
)
{
AssertUtils
.
isEmpty
(
hgsc005a
.
getPlanStartDate
(),
String
.
format
(
"产品[%s]计划开工日期为空!"
,
hgsc005a
.
getProductName
()));
AssertUtils
.
isEmpty
(
hgsc005a
.
getPlanStartDate
(),
String
.
format
(
"产品[%s]计划开工日期为空!"
,
hgsc005a
.
getProductName
()));
AssertUtils
.
isEmpty
(
hgsc005a
.
getPlanEndDate
(),
String
.
format
(
"产品[%s]计划开始完工日期为空!"
,
hgsc005a
.
getProductName
()));
AssertUtils
.
isEmpty
(
hgsc005a
.
getPlanEndDate
(),
String
.
format
(
"产品[%s]计划完工日期为空!"
,
hgsc005a
.
getProductName
()));
AssertUtils
.
isTrue
(
DateUtil
.
toDate
(
hgsc005a
.
getPlanEndDate
(),
DateUtil
.
DATE10_PATTERN
).
compareTo
(
DateUtil
.
toDate
(
hgsc005a
.
getPlanStartDate
(),
DateUtil
.
DATE10_PATTERN
))<
0
,
String
.
format
(
"产品[%s]计划完工日期不能大于开工日期!"
,
hgsc005a
.
getProductName
()));
}
}
}
}
...
...
src/main/webapp/HG/SC/HGSC005A.jsp
View file @
8238c4c5
...
@@ -37,10 +37,10 @@
...
@@ -37,10 +37,10 @@
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy-MM-dd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy-MM-dd']"
required=
"true"
/>
<EF:EFColumn
ename=
"planEndDate"
cname=
"计划完工日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"planEndDate"
cname=
"计划完工日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy-MM-dd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy-MM-dd']"
required=
"true"
/>
<EF:EFColumn
ename=
"singleWeight"
cname=
"单重(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"singleWeight"
cname=
"单重(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"totalWeight"
cname=
"计划重量(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"totalWeight"
cname=
"计划重量(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"finishWeight"
cname=
"完成重量(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"finishWeight"
cname=
"完成重量(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unfinishWeight"
cname=
"未完成重量(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unfinishWeight"
cname=
"未完成重量(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"quantity"
cname=
"计划数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"quantity"
cname=
"计划数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"finishQuantity"
cname=
"完成数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"finishQuantity"
cname=
"完成数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unfinishQuantity"
cname=
"未完成数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unfinishQuantity"
cname=
"未完成数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
...
...
src/main/webapp/HG/SC/HGSC006A.jsp
View file @
8238c4c5
...
@@ -36,10 +36,10 @@
...
@@ -36,10 +36,10 @@
<EF:EFColumn
ename=
"processName"
cname=
"工序"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"processName"
cname=
"工序"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"planEndDate"
cname=
"计划完工日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"planEndDate"
cname=
"计划完工日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy-MM-dd']"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy-MM-dd']"
/>
<EF:EFColumn
ename=
"singleWeight"
cname=
"单重(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"singleWeight"
cname=
"单重(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"totalWeight"
cname=
"订单重量(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"totalWeight"
cname=
"订单重量(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"assignWeight"
cname=
"派工重量(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"assignWeight"
cname=
"派工重量(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unassignWeight"
cname=
"待派工重量(kg)"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unassignWeight"
cname=
"待派工重量(kg)"
format=
"{0:0.00}"
editType=
"text"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"quantity"
cname=
"订单数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"quantity"
cname=
"订单数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"assignQuantity"
cname=
"派工数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"assignQuantity"
cname=
"派工数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unassignQuantity"
cname=
"待派工数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
<EF:EFColumn
ename=
"unassignQuantity"
cname=
"待派工数量"
width=
"120"
enable=
"true"
align=
"center"
readOnly=
"true"
/>
...
...
src/main/webapp/HG/SC/HGSC006B.jsp
View file @
8238c4c5
...
@@ -24,12 +24,12 @@
...
@@ -24,12 +24,12 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-singleWeight"
cname=
"单量(kg)"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-singleWeight"
cname=
"单量(kg)"
format=
"{0:0.00}"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-totalWeight"
cname=
"订单重量(kg)"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-totalWeight"
cname=
"订单重量(kg)"
format=
"{0:0.00}"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-assignWeight"
cname=
"派工重量(kg)"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-assignWeight"
cname=
"派工重量(kg)"
format=
"{0:0.00}"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-unassignWeight"
cname=
"待派工重量(kg)"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-unassignWeight"
cname=
"待派工重量(kg)"
format=
"{0:0.00}"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-quantity"
cname=
"订单数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-quantity"
cname=
"订单数量"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
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