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
d6dd4825
Commit
d6dd4825
authored
May 20, 2024
by
江和松
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
6f80eea7
99c75260
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
12 deletions
+13
-12
DdynamicEnum.java
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
+1
-1
HGSB001.xml
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB001.xml
+2
-1
HGSB005.xml
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB005.xml
+1
-1
HGSB002A.js
src/main/webapp/HG/SB/HGSB002A.js
+1
-1
HGSB003.js
src/main/webapp/HG/SB/HGSB003.js
+1
-1
HGSB005.js
src/main/webapp/HG/SB/HGSB005.js
+1
-1
HGSB006.js
src/main/webapp/HG/SB/HGSB006.js
+3
-3
HGSB007.js
src/main/webapp/HG/SB/HGSB007.js
+3
-3
No files found.
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
View file @
d6dd4825
...
@@ -209,7 +209,7 @@ public enum DdynamicEnum {
...
@@ -209,7 +209,7 @@ public enum DdynamicEnum {
* 用途:设备名称下拉框
* 用途:设备名称下拉框
* 编写:ly
* 编写:ly
*/
*/
DEVICE_CODE_BOX_BLOCK_ID
(
"deviceCodeBox_block_id"
,
"deviceCode"
,
"deviceName"
,
"deviceType"
,
"companyCode"
,
"HGSB001.queryDeviceCodeBox"
),
DEVICE_CODE_BOX_BLOCK_ID
(
"deviceCodeBox_block_id"
,
"deviceCode"
,
"deviceName"
,
"deviceType"
,
"companyCode"
,
"
deviceStatus"
,
"
HGSB001.queryDeviceCodeBox"
),
//------------------------------------- 生产管理---------------------------------------------------
//------------------------------------- 生产管理---------------------------------------------------
/**
/**
...
...
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB001.xml
View file @
d6dd4825
...
@@ -373,7 +373,8 @@
...
@@ -373,7 +373,8 @@
DEVICE_CODE as "deviceCode",
<!-- 设备编码 -->
DEVICE_CODE as "deviceCode",
<!-- 设备编码 -->
DEVICE_NAME as "deviceName",
<!-- 设备名称 -->
DEVICE_NAME as "deviceName",
<!-- 设备名称 -->
DEVICE_TYPE as "deviceType",
<!-- 设备类型 -->
DEVICE_TYPE as "deviceType",
<!-- 设备类型 -->
COMPANY_CODE as "companyCode"
COMPANY_CODE as "companyCode",
DEVICE_STATUS as "deviceStatus"
FROM ${hggpSchema}.HGSB001 WHERE 1=1
FROM ${hggpSchema}.HGSB001 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
</select>
</select>
...
...
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB005.xml
View file @
d6dd4825
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
UPKEEP_CODE = #upkeepCode#
UPKEEP_CODE = #upkeepCode#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"planCode"
>
<isNotEmpty
prepend=
" AND "
property=
"planCode"
>
PLAN_CODE
= #planCode#
PLAN_CODE
LIKE CONCAT('%', #planCode#, '%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"planStartDate"
>
<isNotEmpty
prepend=
" AND "
property=
"planStartDate"
>
PLAN_START_DATE = #planStartDate#
PLAN_START_DATE = #planStartDate#
...
...
src/main/webapp/HG/SB/HGSB002A.js
View file @
d6dd4825
...
@@ -50,7 +50,7 @@ $(function () {
...
@@ -50,7 +50,7 @@ $(function () {
if
(
deviceType
)
{
if
(
deviceType
)
{
// 返回我们过滤后的数据集
// 返回我们过滤后的数据集
return
_
.
filter
(
deviceCodeBox
,
function
(
item
)
{
return
_
.
filter
(
deviceCodeBox
,
function
(
item
)
{
return
item
[
"param1Field"
]
==
deviceType
;
return
item
[
"param1Field"
]
==
deviceType
&&
item
[
"param3Field"
]
==
"true"
;
})
})
}
}
return
deviceCodeBox
;
return
deviceCodeBox
;
...
...
src/main/webapp/HG/SB/HGSB003.js
View file @
d6dd4825
...
@@ -67,7 +67,7 @@ $(function () {
...
@@ -67,7 +67,7 @@ $(function () {
if
(
companyCode
)
{
if
(
companyCode
)
{
// 返回我们过滤后的数据集
// 返回我们过滤后的数据集
return
_
.
filter
(
deviceCodeBox
,
function
(
item
)
{
return
_
.
filter
(
deviceCodeBox
,
function
(
item
)
{
return
item
[
"param2Field"
]
===
companyCode
;
return
item
[
"param2Field"
]
===
companyCode
&&
item
[
"param3Field"
]
==
"true"
;
})
})
}
}
return
deviceCodeBox
;
return
deviceCodeBox
;
...
...
src/main/webapp/HG/SB/HGSB005.js
View file @
d6dd4825
...
@@ -25,7 +25,7 @@ $(function () {
...
@@ -25,7 +25,7 @@ $(function () {
if
(
item
.
companyCode
)
{
if
(
item
.
companyCode
)
{
if
(
auditStatus
==
1
){
if
(
auditStatus
==
1
){
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="showDetail('
+
item
.
id
+
',
\'
'
+
item
.
companyCode
+
'
\'
,
\'
'
+
item
.
companyName
+
'
\'
)" >
点检
详情</a>'
;
+
'onclick="showDetail('
+
item
.
id
+
',
\'
'
+
item
.
companyCode
+
'
\'
,
\'
'
+
item
.
companyName
+
'
\'
)" >
保养
详情</a>'
;
}
}
if
(
auditStatus
==
0
)
{
if
(
auditStatus
==
0
)
{
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
...
...
src/main/webapp/HG/SB/HGSB006.js
View file @
d6dd4825
...
@@ -25,10 +25,10 @@ $(function () {
...
@@ -25,10 +25,10 @@ $(function () {
field
:
"checkStatus"
,
field
:
"checkStatus"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
let
template
=
''
;
let
template
=
''
;
if
(
isBlank
(
item
.
checkResult
.
trim
())
||
isBlank
(
item
.
docId
.
trim
())){
if
(
!
isBlank
(
item
.
checkResult
.
trim
())
||
!
isBlank
(
item
.
docId
.
trim
())){
return
"未点检"
;
}
else
{
return
"已点检"
;
return
"已点检"
;
}
else
{
return
"未点检"
;
}
}
}
}
},
{
},
{
...
...
src/main/webapp/HG/SB/HGSB007.js
View file @
d6dd4825
...
@@ -112,10 +112,10 @@ $(function () {
...
@@ -112,10 +112,10 @@ $(function () {
field
:
"upkeepStatus"
,
field
:
"upkeepStatus"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
let
template
=
''
;
let
template
=
''
;
if
(
isBlank
(
item
.
checkResult
.
trim
())
||
isBlank
(
item
.
docId
.
trim
())){
if
(
!
isBlank
(
item
.
checkResult
.
trim
())
||
!
isBlank
(
item
.
docId
.
trim
())){
return
"未保养"
;
}
else
{
return
"已保养"
;
return
"已保养"
;
}
else
{
return
"未保养"
;
}
}
}
}
},
{
},
{
...
...
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