Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
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
王浩
zh-baseversion-project
Commits
164a799f
Commit
164a799f
authored
Jul 16, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
停气监管
parent
0082962d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
558 additions
and
25 deletions
+558
-25
TSupBalStopSupController.java
...eb/controller/supplybalance/TSupBalStopSupController.java
+15
-0
TSupBalStopSup.java
...rc/main/java/com/zehong/system/domain/TSupBalStopSup.java
+24
-0
TSupBalStopSupOprPressLog.java
...a/com/zehong/system/domain/TSupBalStopSupOprPressLog.java
+82
-0
TSupBalStopSupOprPressLogMapper.java
...zehong/system/mapper/TSupBalStopSupOprPressLogMapper.java
+61
-0
ITSupBalStopSupOprPressLogService.java
...ong/system/service/ITSupBalStopSupOprPressLogService.java
+61
-0
ITSupBalStopSupService.java
...ava/com/zehong/system/service/ITSupBalStopSupService.java
+7
-0
TSupBalStopSupOprPressLogServiceImpl.java
...em/service/impl/TSupBalStopSupOprPressLogServiceImpl.java
+93
-0
TSupBalStopSupServiceImpl.java
...zehong/system/service/impl/TSupBalStopSupServiceImpl.java
+15
-0
TSupBalStopSupMapper.xml
...src/main/resources/mapper/system/TSupBalStopSupMapper.xml
+12
-0
TSupBalStopSupOprPressLogMapper.xml
...sources/mapper/system/TSupBalStopSupOprPressLogMapper.xml
+66
-0
index.vue
zh-baseversion-web/src/views/supplybalance/gas/index.vue
+1
-1
index.vue
zh-baseversion-web/src/views/supplybalance/stop/index.vue
+121
-24
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supplybalance/TSupBalStopSupController.java
View file @
164a799f
...
...
@@ -101,4 +101,19 @@ public class TSupBalStopSupController extends BaseController
{
return
toAjax
(
tSupBalStopSupService
.
deleteTSupBalStopSupByIds
(
fGasStopIds
));
}
/**
* 上传停气监管记录
* @param fGasStopId 停气监管记录主键
* @return
*/
@GetMapping
(
"/reportSupBalStopSupRecInfo"
)
public
AjaxResult
reportSupBalStopSupRecInfo
(
Long
fGasStopId
){
try
{
return
toAjax
(
tSupBalStopSupService
.
reportSupBalStopSupRecInfo
(
fGasStopId
));
}
catch
(
Exception
e
){
logger
.
error
(
"上传停气监管记录接口异常====="
,
e
);
return
AjaxResult
.
error
(
"上传停气监管记录接口异常"
);
}
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TSupBalStopSup.java
View file @
164a799f
...
...
@@ -77,6 +77,14 @@ public class TSupBalStopSup extends BaseEntity
@Excel
(
name
=
"备注"
)
private
String
remarks
;
@Excel
(
name
=
"政府端上报状态"
,
readConverterExp
=
"0=未上报,1=已上报"
)
private
String
fGovUploadStatus
;
/** 政府端上报时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@Excel
(
name
=
"政府端上报时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
fGovUploadTime
;
public
void
setfGasStopId
(
Long
fGasStopId
)
{
this
.
fGasStopId
=
fGasStopId
;
...
...
@@ -213,6 +221,22 @@ public class TSupBalStopSup extends BaseEntity
return
remarks
;
}
public
String
getfGovUploadStatus
()
{
return
fGovUploadStatus
;
}
public
void
setfGovUploadStatus
(
String
fGovUploadStatus
)
{
this
.
fGovUploadStatus
=
fGovUploadStatus
;
}
public
Date
getfGovUploadTime
()
{
return
fGovUploadTime
;
}
public
void
setfGovUploadTime
(
Date
fGovUploadTime
)
{
this
.
fGovUploadTime
=
fGovUploadTime
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TSupBalStopSupOprPressLog.java
0 → 100644
View file @
164a799f
package
com
.
zehong
.
system
.
domain
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* 供需平衡-停气监管-停气进度操作历史记录对象 t_sup_bal_stop_sup_opr_press_log
*
* @author zehong
* @date 2024-07-16
*/
public
class
TSupBalStopSupOprPressLog
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** id */
private
Long
fOprPressLogId
;
/** 关联-供需平衡-停气监管-表id */
@Excel
(
name
=
"关联-供需平衡-停气监管-表id"
)
private
Long
fGasStopId
;
/** 停气进度,0-未停气,1-已停气,2-已恢复 */
@Excel
(
name
=
"停气进度,0-未停气,1-已停气,2-已恢复"
)
private
String
fStopProgress
;
/** 操作停气进度时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"操作停气进度时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
fOprDate
;
public
void
setfOprPressLogId
(
Long
fOprPressLogId
)
{
this
.
fOprPressLogId
=
fOprPressLogId
;
}
public
Long
getfOprPressLogId
()
{
return
fOprPressLogId
;
}
public
void
setfGasStopId
(
Long
fGasStopId
)
{
this
.
fGasStopId
=
fGasStopId
;
}
public
Long
getfGasStopId
()
{
return
fGasStopId
;
}
public
void
setfStopProgress
(
String
fStopProgress
)
{
this
.
fStopProgress
=
fStopProgress
;
}
public
String
getfStopProgress
()
{
return
fStopProgress
;
}
public
void
setfOprDate
(
Date
fOprDate
)
{
this
.
fOprDate
=
fOprDate
;
}
public
Date
getfOprDate
()
{
return
fOprDate
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"fOprPressLogId"
,
getfOprPressLogId
())
.
append
(
"fGasStopId"
,
getfGasStopId
())
.
append
(
"fStopProgress"
,
getfStopProgress
())
.
append
(
"fOprDate"
,
getfOprDate
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TSupBalStopSupOprPressLogMapper.java
0 → 100644
View file @
164a799f
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TSupBalStopSupOprPressLog
;
/**
* 供需平衡-停气监管-停气进度操作历史记录Mapper接口
*
* @author zehong
* @date 2024-07-16
*/
public
interface
TSupBalStopSupOprPressLogMapper
{
/**
* 查询供需平衡-停气监管-停气进度操作历史记录
*
* @param fOprPressLogId 供需平衡-停气监管-停气进度操作历史记录ID
* @return 供需平衡-停气监管-停气进度操作历史记录
*/
public
TSupBalStopSupOprPressLog
selectTSupBalStopSupOprPressLogById
(
Long
fOprPressLogId
);
/**
* 查询供需平衡-停气监管-停气进度操作历史记录列表
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 供需平衡-停气监管-停气进度操作历史记录集合
*/
public
List
<
TSupBalStopSupOprPressLog
>
selectTSupBalStopSupOprPressLogList
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
);
/**
* 新增供需平衡-停气监管-停气进度操作历史记录
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 结果
*/
public
int
insertTSupBalStopSupOprPressLog
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
);
/**
* 修改供需平衡-停气监管-停气进度操作历史记录
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 结果
*/
public
int
updateTSupBalStopSupOprPressLog
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
);
/**
* 删除供需平衡-停气监管-停气进度操作历史记录
*
* @param fOprPressLogId 供需平衡-停气监管-停气进度操作历史记录ID
* @return 结果
*/
public
int
deleteTSupBalStopSupOprPressLogById
(
Long
fOprPressLogId
);
/**
* 批量删除供需平衡-停气监管-停气进度操作历史记录
*
* @param fOprPressLogIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTSupBalStopSupOprPressLogByIds
(
Long
[]
fOprPressLogIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITSupBalStopSupOprPressLogService.java
0 → 100644
View file @
164a799f
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TSupBalStopSupOprPressLog
;
/**
* 供需平衡-停气监管-停气进度操作历史记录Service接口
*
* @author zehong
* @date 2024-07-16
*/
public
interface
ITSupBalStopSupOprPressLogService
{
/**
* 查询供需平衡-停气监管-停气进度操作历史记录
*
* @param fOprPressLogId 供需平衡-停气监管-停气进度操作历史记录ID
* @return 供需平衡-停气监管-停气进度操作历史记录
*/
public
TSupBalStopSupOprPressLog
selectTSupBalStopSupOprPressLogById
(
Long
fOprPressLogId
);
/**
* 查询供需平衡-停气监管-停气进度操作历史记录列表
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 供需平衡-停气监管-停气进度操作历史记录集合
*/
public
List
<
TSupBalStopSupOprPressLog
>
selectTSupBalStopSupOprPressLogList
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
);
/**
* 新增供需平衡-停气监管-停气进度操作历史记录
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 结果
*/
public
int
insertTSupBalStopSupOprPressLog
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
);
/**
* 修改供需平衡-停气监管-停气进度操作历史记录
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 结果
*/
public
int
updateTSupBalStopSupOprPressLog
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
);
/**
* 批量删除供需平衡-停气监管-停气进度操作历史记录
*
* @param fOprPressLogIds 需要删除的供需平衡-停气监管-停气进度操作历史记录ID
* @return 结果
*/
public
int
deleteTSupBalStopSupOprPressLogByIds
(
Long
[]
fOprPressLogIds
);
/**
* 删除供需平衡-停气监管-停气进度操作历史记录信息
*
* @param fOprPressLogId 供需平衡-停气监管-停气进度操作历史记录ID
* @return 结果
*/
public
int
deleteTSupBalStopSupOprPressLogById
(
Long
fOprPressLogId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITSupBalStopSupService.java
View file @
164a799f
...
...
@@ -58,4 +58,11 @@ public interface ITSupBalStopSupService
* @return 结果
*/
public
int
deleteTSupBalStopSupById
(
Long
fGasStopId
);
/**
* 上传停气监管记录
* @param fGasStopId 停气监管记录主键
* @return
*/
int
reportSupBalStopSupRecInfo
(
Long
fGasStopId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TSupBalStopSupOprPressLogServiceImpl.java
0 → 100644
View file @
164a799f
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TSupBalStopSupOprPressLogMapper
;
import
com.zehong.system.domain.TSupBalStopSupOprPressLog
;
import
com.zehong.system.service.ITSupBalStopSupOprPressLogService
;
/**
* 供需平衡-停气监管-停气进度操作历史记录Service业务层处理
*
* @author zehong
* @date 2024-07-16
*/
@Service
public
class
TSupBalStopSupOprPressLogServiceImpl
implements
ITSupBalStopSupOprPressLogService
{
@Autowired
private
TSupBalStopSupOprPressLogMapper
tSupBalStopSupOprPressLogMapper
;
/**
* 查询供需平衡-停气监管-停气进度操作历史记录
*
* @param fOprPressLogId 供需平衡-停气监管-停气进度操作历史记录ID
* @return 供需平衡-停气监管-停气进度操作历史记录
*/
@Override
public
TSupBalStopSupOprPressLog
selectTSupBalStopSupOprPressLogById
(
Long
fOprPressLogId
)
{
return
tSupBalStopSupOprPressLogMapper
.
selectTSupBalStopSupOprPressLogById
(
fOprPressLogId
);
}
/**
* 查询供需平衡-停气监管-停气进度操作历史记录列表
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 供需平衡-停气监管-停气进度操作历史记录
*/
@Override
public
List
<
TSupBalStopSupOprPressLog
>
selectTSupBalStopSupOprPressLogList
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
)
{
return
tSupBalStopSupOprPressLogMapper
.
selectTSupBalStopSupOprPressLogList
(
tSupBalStopSupOprPressLog
);
}
/**
* 新增供需平衡-停气监管-停气进度操作历史记录
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 结果
*/
@Override
public
int
insertTSupBalStopSupOprPressLog
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
)
{
return
tSupBalStopSupOprPressLogMapper
.
insertTSupBalStopSupOprPressLog
(
tSupBalStopSupOprPressLog
);
}
/**
* 修改供需平衡-停气监管-停气进度操作历史记录
*
* @param tSupBalStopSupOprPressLog 供需平衡-停气监管-停气进度操作历史记录
* @return 结果
*/
@Override
public
int
updateTSupBalStopSupOprPressLog
(
TSupBalStopSupOprPressLog
tSupBalStopSupOprPressLog
)
{
return
tSupBalStopSupOprPressLogMapper
.
updateTSupBalStopSupOprPressLog
(
tSupBalStopSupOprPressLog
);
}
/**
* 批量删除供需平衡-停气监管-停气进度操作历史记录
*
* @param fOprPressLogIds 需要删除的供需平衡-停气监管-停气进度操作历史记录ID
* @return 结果
*/
@Override
public
int
deleteTSupBalStopSupOprPressLogByIds
(
Long
[]
fOprPressLogIds
)
{
return
tSupBalStopSupOprPressLogMapper
.
deleteTSupBalStopSupOprPressLogByIds
(
fOprPressLogIds
);
}
/**
* 删除供需平衡-停气监管-停气进度操作历史记录信息
*
* @param fOprPressLogId 供需平衡-停气监管-停气进度操作历史记录ID
* @return 结果
*/
@Override
public
int
deleteTSupBalStopSupOprPressLogById
(
Long
fOprPressLogId
)
{
return
tSupBalStopSupOprPressLogMapper
.
deleteTSupBalStopSupOprPressLogById
(
fOprPressLogId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TSupBalStopSupServiceImpl.java
View file @
164a799f
...
...
@@ -99,4 +99,19 @@ public class TSupBalStopSupServiceImpl implements ITSupBalStopSupService
{
return
tSupBalStopSupMapper
.
deleteTSupBalStopSupById
(
fGasStopId
);
}
/**
* 上传停气监管记录
* @param fGasStopId 停气监管记录主键
* @return
*/
@Override
public
int
reportSupBalStopSupRecInfo
(
Long
fGasStopId
)
{
TSupBalStopSup
tSupBalStopSup
=
new
TSupBalStopSup
();
tSupBalStopSup
.
setfGasStopId
(
fGasStopId
);
tSupBalStopSup
.
setfGovUploadStatus
(
"1"
);
tSupBalStopSup
.
setfGovUploadTime
(
new
Date
());
return
tSupBalStopSupMapper
.
updateTSupBalStopSup
(
tSupBalStopSup
);
}
}
zh-baseversion-system/src/main/resources/mapper/system/TSupBalStopSupMapper.xml
View file @
164a799f
...
...
@@ -23,6 +23,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"isDel"
column=
"is_del"
/>
<result
property=
"remarks"
column=
"remarks"
/>
<result
property=
"fGovUploadStatus"
column=
"f_gov_upload_status"
/>
<result
property=
"fGovUploadTime"
column=
"f_gov_upload_time"
/>
</resultMap>
<sql
id=
"selectTSupBalStopSupVo"
>
...
...
@@ -45,6 +47,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
st.update_time,
st.is_del,
st.remarks,
st.f_gov_upload_status,
st.f_gov_upload_time,
en.enterprise_name AS enterpriseName
FROM
t_sup_bal_stop_sup st
...
...
@@ -59,6 +63,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fStopProgress != null and fStopProgress != ''"
>
and st.f_stop_progress = #{fStopProgress}
</if>
<if
test=
"fRepStatus != null and fRepStatus != ''"
>
and st.f_rep_status = #{fRepStatus}
</if>
<if
test=
"enterpriseName != null and enterpriseName != ''"
>
and en.enterprise_name like concat('%', #{enterpriseName}, '%')
</if>
<if
test=
"fGovUploadStatus != null and fGovUploadStatus != ''"
>
and st.f_gov_upload_status = #{fGovUploadStatus}
</if>
<if
test=
"fGovUploadTime != null "
>
and st.f_gov_upload_time = #{fGovUploadTime}
</if>
</where>
</select>
...
...
@@ -87,6 +93,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"isDel != null"
>
is_del,
</if>
<if
test=
"remarks != null"
>
remarks,
</if>
<if
test=
"fGovUploadStatus != null"
>
f_gov_upload_status,
</if>
<if
test=
"fGovUploadTime != null"
>
f_gov_upload_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fCompanyInfoId != null"
>
#{fCompanyInfoId},
</if>
...
...
@@ -106,6 +114,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
<if
test=
"isDel != null"
>
#{isDel},
</if>
<if
test=
"remarks != null"
>
#{remarks},
</if>
<if
test=
"fGovUploadStatus != null"
>
#{fGovUploadStatus},
</if>
<if
test=
"fGovUploadTime != null"
>
#{fGovUploadTime},
</if>
</trim>
</insert>
...
...
@@ -129,6 +139,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel},
</if>
<if
test=
"remarks != null"
>
remarks = #{remarks},
</if>
<if
test=
"fGovUploadStatus != null"
>
f_gov_upload_status = #{fGovUploadStatus},
</if>
<if
test=
"fGovUploadTime != null"
>
f_gov_upload_time = #{fGovUploadTime},
</if>
</trim>
where f_gas_stop_id = #{fGasStopId}
</update>
...
...
zh-baseversion-system/src/main/resources/mapper/system/TSupBalStopSupOprPressLogMapper.xml
0 → 100644
View file @
164a799f
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.TSupBalStopSupOprPressLogMapper"
>
<resultMap
type=
"TSupBalStopSupOprPressLog"
id=
"TSupBalStopSupOprPressLogResult"
>
<result
property=
"fOprPressLogId"
column=
"f_opr_press_log_id"
/>
<result
property=
"fGasStopId"
column=
"f_gas_stop_id"
/>
<result
property=
"fStopProgress"
column=
"f_stop_progress"
/>
<result
property=
"fOprDate"
column=
"f_opr_date"
/>
</resultMap>
<sql
id=
"selectTSupBalStopSupOprPressLogVo"
>
select f_opr_press_log_id, f_gas_stop_id, f_stop_progress, f_opr_date from t_sup_bal_stop_sup_opr_press_log
</sql>
<select
id=
"selectTSupBalStopSupOprPressLogList"
parameterType=
"TSupBalStopSupOprPressLog"
resultMap=
"TSupBalStopSupOprPressLogResult"
>
<include
refid=
"selectTSupBalStopSupOprPressLogVo"
/>
<where>
<if
test=
"fGasStopId != null "
>
and f_gas_stop_id = #{fGasStopId}
</if>
<if
test=
"fStopProgress != null and fStopProgress != ''"
>
and f_stop_progress = #{fStopProgress}
</if>
<if
test=
"fOprDate != null "
>
and f_opr_date = #{fOprDate}
</if>
</where>
</select>
<select
id=
"selectTSupBalStopSupOprPressLogById"
parameterType=
"Long"
resultMap=
"TSupBalStopSupOprPressLogResult"
>
<include
refid=
"selectTSupBalStopSupOprPressLogVo"
/>
where f_opr_press_log_id = #{fOprPressLogId}
</select>
<insert
id=
"insertTSupBalStopSupOprPressLog"
parameterType=
"TSupBalStopSupOprPressLog"
useGeneratedKeys=
"true"
keyProperty=
"fOprPressLogId"
>
insert into t_sup_bal_stop_sup_opr_press_log
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fGasStopId != null"
>
f_gas_stop_id,
</if>
<if
test=
"fStopProgress != null and fStopProgress != ''"
>
f_stop_progress,
</if>
<if
test=
"fOprDate != null"
>
f_opr_date,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fGasStopId != null"
>
#{fGasStopId},
</if>
<if
test=
"fStopProgress != null and fStopProgress != ''"
>
#{fStopProgress},
</if>
<if
test=
"fOprDate != null"
>
#{fOprDate},
</if>
</trim>
</insert>
<update
id=
"updateTSupBalStopSupOprPressLog"
parameterType=
"TSupBalStopSupOprPressLog"
>
update t_sup_bal_stop_sup_opr_press_log
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fGasStopId != null"
>
f_gas_stop_id = #{fGasStopId},
</if>
<if
test=
"fStopProgress != null and fStopProgress != ''"
>
f_stop_progress = #{fStopProgress},
</if>
<if
test=
"fOprDate != null"
>
f_opr_date = #{fOprDate},
</if>
</trim>
where f_opr_press_log_id = #{fOprPressLogId}
</update>
<delete
id=
"deleteTSupBalStopSupOprPressLogById"
parameterType=
"Long"
>
delete from t_sup_bal_stop_sup_opr_press_log where f_opr_press_log_id = #{fOprPressLogId}
</delete>
<delete
id=
"deleteTSupBalStopSupOprPressLogByIds"
parameterType=
"String"
>
delete from t_sup_bal_stop_sup_opr_press_log where f_opr_press_log_id in
<foreach
item=
"fOprPressLogId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{fOprPressLogId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-web/src/views/supplybalance/gas/index.vue
View file @
164a799f
...
...
@@ -74,7 +74,7 @@
<el-table
v-loading=
"loading"
:data=
"supList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"企业名称"
align=
"center"
prop=
"enterpriseName"
/>
<el-table-column
label=
"企业名称"
align=
"center"
prop=
"enterpriseName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"计划量/wm³"
align=
"center"
prop=
"fPlanQuan"
/>
<el-table-column
label=
"批复量/wm³"
align=
"center"
prop=
"fApprQuan"
/>
<el-table-column
label=
"供气量/wm³"
align=
"center"
prop=
"fSupGasVol"
/>
...
...
zh-baseversion-web/src/views/supplybalance/stop/index.vue
View file @
164a799f
This diff is collapsed.
Click to expand it.
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