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
98dbc9b5
Commit
98dbc9b5
authored
Nov 19, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://129.211.46.84:8800/platform/hg-smart
into master-dc
parents
31274fd6
fa9173ee
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
22 deletions
+29
-22
HGSB010.xml
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB010.xml
+16
-16
HGBI003.jsp
src/main/webapp/HG/BI/HGBI003.jsp
+10
-3
HGCW004.jsp
src/main/webapp/HG/CW/HGCW004.jsp
+1
-1
HGCW005.jsp
src/main/webapp/HG/CW/HGCW005.jsp
+1
-1
HGCW010F.jsp
src/main/webapp/HG/CW/HGCW010F.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB010.xml
View file @
98dbc9b5
...
...
@@ -183,7 +183,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
INNER
join (
left
join (
select EQUIPMENT_CODE, LOG_VALUE
from ${hggpSchema}.HGSB010 where EQUIPMENT_TYPE = 'STARUS_TYPE'
and CREATED_TIME =(
...
...
@@ -200,7 +200,7 @@
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and a.DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and a.DEVICE_STATUS = 1
and a.REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -230,7 +230,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -247,7 +247,7 @@
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -268,7 +268,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -284,7 +284,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -305,7 +305,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -322,7 +322,7 @@
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -343,7 +343,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -359,7 +359,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -380,7 +380,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -396,7 +396,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -417,7 +417,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -433,7 +433,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -454,7 +454,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -470,7 +470,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
src/main/webapp/HG/BI/HGBI003.jsp
View file @
98dbc9b5
...
...
@@ -172,6 +172,7 @@
placeholder=
"选择日期"
@
change=
"handledataPicker"
value-format=
"yyyyMMdd"
:picker-options=
'pickerOptions'
style=
"width: 11vw"
>
</el-date-picker>
...
...
@@ -311,7 +312,13 @@
querySbYesDate
:[],
querySbNoList
:[],
querySbNODate
:[],
currentTime
:
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
)
currentTime
:
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
),
maxDate
:
dayjs
().
format
(
"YYYY-MM-DD"
),
pickerOptions
:{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
();
}
}
};
},
mounted
()
{
...
...
@@ -506,7 +513,7 @@
str
=
dayjs
().
format
(
'YYYY'
)
+
_this
.
querySbYesDate
[
_this
.
querySbYesDate
.
length
-
1
];
dateArr
.
unshift
(
_this
.
querySbYesDate
[
_this
.
querySbYesDate
.
length
-
1
])
for
(
let
i
=
0
;
i
<
6
;
i
++
){
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
,
'day'
).
format
(
'MMDD'
));
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
+
1
,
'day'
).
format
(
'MMDD'
));
}
}
else
{
for
(
let
i
=
0
;
i
<
7
;
i
++
){
...
...
@@ -658,7 +665,7 @@
str
=
dayjs
().
format
(
'YYYY'
)
+
_this
.
querySbNODate
[
_this
.
querySbNODate
.
length
-
1
];
dateArr
.
unshift
(
_this
.
querySbNODate
[
_this
.
querySbNODate
.
length
-
1
])
for
(
let
i
=
0
;
i
<
6
;
i
++
){
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
,
'day'
).
format
(
'MMDD'
));
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
+
1
,
'day'
).
format
(
'MMDD'
));
}
}
else
{
for
(
let
i
=
0
;
i
<
7
;
i
++
){
...
...
src/main/webapp/HG/CW/HGCW004.jsp
View file @
98dbc9b5
...
...
@@ -57,7 +57,7 @@
<EF:EFColumn
ename=
"contractContent"
cname=
"签证事由及内容"
width=
"120"
enable=
"true"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"totalContractPriceIncluding"
cname=
"含税金额"
width=
"120"
enable=
"true"
format=
"{0:N2}"
align=
"right"
required=
"true"
/>
<EF:EFColumn
ename=
"signingDate"
cname=
"签订日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy
-MM-dd', 'yyyy
MMdd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
<EF:EFComboColumn
ename=
"reviewStatus"
cname=
"审批状态"
width=
"100"
align=
"center"
required=
"true"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.cw.reviewStatus"
/>
...
...
src/main/webapp/HG/CW/HGCW005.jsp
View file @
98dbc9b5
...
...
@@ -53,7 +53,7 @@
<EF:EFColumn
ename=
"contractContent"
cname=
"扣款事由"
width=
"120"
enable=
"true"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"totalContractPriceIncluding"
cname=
"扣款金额"
width=
"120"
enable=
"true"
format=
"{0:N2}"
align=
"right"
required=
"true"
/>
<EF:EFColumn
ename=
"signingDate"
cname=
"扣款日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy
-MM-dd', 'yyyyMM
dd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy
MMdd', 'yyyy-MM-
dd']"
required=
"true"
/>
<EF:EFColumn
ename=
"deliveryCode"
cname=
"发货单号"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFComboColumn
ename=
"reviewStatus"
cname=
"审批状态"
width=
"100"
align=
"center"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"false"
>
...
...
src/main/webapp/HG/CW/HGCW010F.jsp
View file @
98dbc9b5
...
...
@@ -29,7 +29,7 @@
</EF:EFRegion>
<EF:EFRegion id="result" title="记录集">
<EF:EFGrid blockId="result" autoDraw="no" isFloat="true" autoBind="false"
sort="all"
>
<EF:EFGrid blockId="result" autoDraw="no" isFloat="true" autoBind="false">
<EF:EFColumn ename="id" cname="主键" hidden="true"/>
<%--<EF:EFComboColumn ename="companyCode" cname="公司名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
...
...
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