修复有限空间作业增加后不显示数量的问题

pull/15/head
songwenxuan 2024-01-30 17:01:40 +08:00
parent 88e37bb489
commit e7f5894016
1 changed files with 2 additions and 2 deletions

View File

@ -1705,14 +1705,14 @@
STR_TO_DATE( CREATTIME, '%Y-%m-%d' ) CREATTIME, STR_TO_DATE( CREATTIME, '%Y-%m-%d' ) CREATTIME,
'0' cutroadCount, '0' cutroadCount,
'0' blindboardCount, '0' blindboardCount,
count( 1 ) breakgroundCount, count( 1 ) confinedspaceCount,
'0' highworkCount, '0' highworkCount,
'0' hoistingCount, '0' hoistingCount,
'0' electricityCount, '0' electricityCount,
'0' breakgroundCount, '0' breakgroundCount,
'0' cutroadCount '0' cutroadCount
FROM FROM
bus_confinedspace gf_confinedspace
WHERE WHERE
DATE_SUB( CURDATE(), INTERVAL 4 DAY )<= STR_TO_DATE( CREATTIME, '%Y-%m-%d' ) DATE_SUB( CURDATE(), INTERVAL 4 DAY )<= STR_TO_DATE( CREATTIME, '%Y-%m-%d' )
and ISDELETE = '0' and ISDELETE = '0'