Commit d7a2985a authored by xulihui's avatar xulihui

从业人员管理新增详情和变更记录,完成年度行业指标汇总和上报

parent 56f07ae5
package com.zehong.web.controller.supervise;
import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.TEmployedPeopleInfoChangelog;
import com.zehong.system.service.ITEmployedPeopleInfoChangelogService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 从业人员信息变更记录Controller
*
* @author zehong
* @date 2026-03-09
*/
@RestController
@RequestMapping("/system/changelog")
public class TEmployedPeopleInfoChangelogController extends BaseController
{
@Autowired
private ITEmployedPeopleInfoChangelogService tEmployedPeopleInfoChangelogService;
/**
* 查询从业人员信息变更记录列表
*/
@GetMapping("/list")
public TableDataInfo list(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog)
{
startPage();
List<TEmployedPeopleInfoChangelog> list = tEmployedPeopleInfoChangelogService.selectTEmployedPeopleInfoChangelogList(tEmployedPeopleInfoChangelog);
return getDataTable(list);
}
/**
* 导出从业人员信息变更记录列表
*/
@Log(title = "从业人员信息变更记录", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog)
{
List<TEmployedPeopleInfoChangelog> list = tEmployedPeopleInfoChangelogService.selectTEmployedPeopleInfoChangelogList(tEmployedPeopleInfoChangelog);
ExcelUtil<TEmployedPeopleInfoChangelog> util = new ExcelUtil<TEmployedPeopleInfoChangelog>(TEmployedPeopleInfoChangelog.class);
return util.exportExcel(list, "从业人员信息变更记录数据");
}
/**
* 获取从业人员信息变更记录详细信息
*/
@GetMapping(value = "/{employedPeopleId}")
public AjaxResult getInfo(@PathVariable("employedPeopleId") Long employedPeopleId)
{
return AjaxResult.success(tEmployedPeopleInfoChangelogService.selectTEmployedPeopleInfoChangelogById(employedPeopleId));
}
/**
* 新增从业人员信息变更记录
*/
@Log(title = "从业人员信息变更记录", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog)
{
return toAjax(tEmployedPeopleInfoChangelogService.insertTEmployedPeopleInfoChangelog(tEmployedPeopleInfoChangelog));
}
/**
* 修改从业人员信息变更记录
*/
@Log(title = "从业人员信息变更记录", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog)
{
return toAjax(tEmployedPeopleInfoChangelogService.updateTEmployedPeopleInfoChangelog(tEmployedPeopleInfoChangelog));
}
/**
* 删除从业人员信息变更记录
*/
@Log(title = "从业人员信息变更记录", businessType = BusinessType.DELETE)
@DeleteMapping("/{employedPeopleIds}")
public AjaxResult remove(@PathVariable Long[] employedPeopleIds)
{
return toAjax(tEmployedPeopleInfoChangelogService.deleteTEmployedPeopleInfoChangelogByIds(employedPeopleIds));
}
}
\ No newline at end of file
package com.zehong.web.controller.supervise;
import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.TStaEnterpriseInfor;
import com.zehong.system.service.ITStaEnterpriseInforService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 年度行业指标汇总-燃气企业基本情况信息Controller
*
* @author zehong
* @date 2026-03-10
*/
@RestController
@RequestMapping("/system/infor")
public class TStaEnterpriseInforController extends BaseController
{
@Autowired
private ITStaEnterpriseInforService tStaEnterpriseInforService;
/**
* 查询年度行业指标汇总-燃气企业基本情况信息列表
*/
@GetMapping("/list")
public TableDataInfo list(TStaEnterpriseInfor tStaEnterpriseInfor)
{
startPage();
List<TStaEnterpriseInfor> list = tStaEnterpriseInforService.selectTStaEnterpriseInforList(tStaEnterpriseInfor);
return getDataTable(list);
}
/**
* 导出年度行业指标汇总-燃气企业基本情况信息列表
*/
@Log(title = "年度行业指标汇总-燃气企业基本情况信息", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(TStaEnterpriseInfor tStaEnterpriseInfor)
{
List<TStaEnterpriseInfor> list = tStaEnterpriseInforService.selectTStaEnterpriseInforList(tStaEnterpriseInfor);
ExcelUtil<TStaEnterpriseInfor> util = new ExcelUtil<TStaEnterpriseInfor>(TStaEnterpriseInfor.class);
return util.exportExcel(list, "年度行业指标汇总-燃气企业基本情况信息数据");
}
/**
* 获取年度行业指标汇总-燃气企业基本情况信息详细信息
*/
@GetMapping(value = "/{fEnterpriseId}")
public AjaxResult getInfo(@PathVariable("fEnterpriseId") Long fEnterpriseId)
{
return AjaxResult.success(tStaEnterpriseInforService.selectTStaEnterpriseInforById(fEnterpriseId));
}
/**
* 新增年度行业指标汇总-燃气企业基本情况信息
*/
@Log(title = "年度行业指标汇总-燃气企业基本情况信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TStaEnterpriseInfor tStaEnterpriseInfor)
{
return toAjax(tStaEnterpriseInforService.insertTStaEnterpriseInfor(tStaEnterpriseInfor));
}
/**
* 修改年度行业指标汇总-燃气企业基本情况信息
*/
@Log(title = "年度行业指标汇总-燃气企业基本情况信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TStaEnterpriseInfor tStaEnterpriseInfor)
{
return toAjax(tStaEnterpriseInforService.updateTStaEnterpriseInfor(tStaEnterpriseInfor));
}
/**
* 删除年度行业指标汇总-燃气企业基本情况信息
*/
@Log(title = "年度行业指标汇总-燃气企业基本情况信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{fEnterpriseIds}")
public AjaxResult remove(@PathVariable Long[] fEnterpriseIds)
{
return toAjax(tStaEnterpriseInforService.deleteTStaEnterpriseInforByIds(fEnterpriseIds));
}
}
\ No newline at end of file
package com.zehong.system.domain;
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_employed_people_info_changelog
*
* @author zehong
* @date 2026-03-10
*/
public class TEmployedPeopleInfoChangelog extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 姓名 */
@Excel(name = "姓名")
private String employedPeopleName;
/** 身份证号 */
@Excel(name = "身份证号")
private String idCard;
/** 变更前 */
@Excel(name = "变更前")
private String beforeChange;
/** 变更后 */
@Excel(name = "变更后")
private String afterChange;
/** 是否删除(0正常,1删除) */
@Excel(name = "是否删除(0正常,1删除)")
private String isDel;
/** 备注 */
@Excel(name = "备注")
private String remarks;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setEmployedPeopleName(String employedPeopleName)
{
this.employedPeopleName = employedPeopleName;
}
public String getEmployedPeopleName()
{
return employedPeopleName;
}
public void setIdCard(String idCard)
{
this.idCard = idCard;
}
public String getIdCard()
{
return idCard;
}
public void setBeforeChange(String beforeChange)
{
this.beforeChange = beforeChange;
}
public String getBeforeChange()
{
return beforeChange;
}
public void setAfterChange(String afterChange)
{
this.afterChange = afterChange;
}
public String getAfterChange()
{
return afterChange;
}
public void setIsDel(String isDel)
{
this.isDel = isDel;
}
public String getIsDel()
{
return isDel;
}
public void setRemarks(String remarks)
{
this.remarks = remarks;
}
public String getRemarks()
{
return remarks;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("employedPeopleName", getEmployedPeopleName())
.append("idCard", getIdCard())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("beforeChange", getBeforeChange())
.append("afterChange", getAfterChange())
.append("isDel", getIsDel())
.append("remarks", getRemarks())
.toString();
}
}
\ No newline at end of file
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_sta_enterprise_infor
*
* @author zehong
* @date 2026-03-10
*/
public class TStaEnterpriseInfor extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* $column.columnComment
*/
private Long fEnterpriseId;
/**
* 所属市名称
*/
@Excel(name = "所属市名称")
private String fCityName;
/**
* 所属区县名称
*/
@Excel(name = "所属区县名称")
private String fDistrictName;
/**
* 统一社会信用代码
*/
@Excel(name = "统一社会信用代码")
private String fBizCode;
/**
* 企业名称
*/
@Excel(name = "企业名称")
private String fCompanyName;
/**
* 管道燃气许可证号
*/
@Excel(name = "管道燃气许可证号")
private String fPipelineCertCode;
/**
* 管道燃气企业经营状况
* <p>
* 0100-正常-存续、在业
* <p>
* 0200-停业-含停业、歇业等,指阶段性停止营业,后期条件成熟或者到期恢复营业
* <p>
* 0300-注销-燃气经营者被依法撤回、撤销、注销、吊销燃气经营许可
*/
@Excel(name = "管道燃气企业经营状况")
private String fPipelineComp;
/**
* 燃气汽车加气站企业许可证号
*/
@Excel(name = "燃气汽车加气站企业许可证号")
private String fStationCertCode;
/**
* 燃气汽车加气站经营状况
* <p>
* 0100-正常-存续、在业
* <p>
* 0200-停业-含停业、歇业等,指阶段性停止营业,后期条件成熟或者到期恢复营业
* <p>
* 0300-注销-燃气经营者被依法撤回、撤销、注销、吊销燃气经营许可
*/
@Excel(name = "燃气汽车加气站经营状况")
private String fStationComp;
/**
* 其他经营类企业许可证号
*/
@Excel(name = "其他经营类企业许可证号")
private String fOtherCertCode;
/**
* 其他经营类企业经营情况
* <p>
* 0100-正常-存续、在业
* <p>
* 0200-停业-含停业、歇业等,指阶段性停止营业,后期条件成熟或者到期恢复营业
* <p>
* 0300-注销-燃气经营者被依法撤回、撤销、注销、吊销燃气经营许可
*/
@Excel(name = "其他经营类企业经营情况")
private String fOtherComp;
/**
* 企业主要负责人数量
*/
@Excel(name = "企业主要负责人数量")
private Integer fResponsibleCount;
/**
* 安全生产管理人数量
*/
@Excel(name = "安全生产管理人数量")
private Integer fManagementCount;
/**
* 运行、维护和抢修人数量
*/
@Excel(name = "运行、维护和抢修人数量")
private Integer fMaintenanceCount;
/**
* 企业主要负责人持证数量
*/
@Excel(name = "企业主要负责人持证数量")
private Integer fResponsibleCertCount;
/**
* 安全生产管理人持证数量
*/
@Excel(name = "安全生产管理人持证数量")
private Integer fManagementCertCount;
/**
* 运行、维护和抢修人支持数量
*/
@Excel(name = "运行、维护和抢修人支持数量")
private Integer fMaintenanceCertCount;
/**
* 门站数量
*/
@Excel(name = "门站数量")
private Integer fStationCount;
/**
* 燃气储配站数量
*/
@Excel(name = "燃气储配站数量")
private Integer fStorageStationCount;
/**
* 气化站数量
*/
@Excel(name = "气化站数量")
private Integer fGasificationStationCount;
/**
* 混气站数量
*/
@Excel(name = "混气站数量")
private Integer fMixingStationCount;
/**
* 加气站数量
*/
@Excel(name = "加气站数量")
private Integer fGasStationCount;
/**
* 灌装站数量
*/
@Excel(name = "灌装站数量")
private Integer fFillingStationCount;
/**
* 供应站数量
*/
@Excel(name = "供应站数量")
private Integer fSupplyStationCount;
/**
* 调压站数量
*/
@Excel(name = "调压站数量")
private Integer fPressureStationCount;
/**
* 其他站数量
*/
@Excel(name = "其他站数量")
private Integer fOtherStationCount;
/**
* 创建时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date fCreateTime;
/**
* 更新时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date fUpdateTime;
private String isReport;
public void setfEnterpriseId(Long fEnterpriseId) {
this.fEnterpriseId = fEnterpriseId;
}
public Long getfEnterpriseId() {
return fEnterpriseId;
}
public void setfCityName(String fCityName) {
this.fCityName = fCityName;
}
public String getfCityName() {
return fCityName;
}
public void setfDistrictName(String fDistrictName) {
this.fDistrictName = fDistrictName;
}
public String getfDistrictName() {
return fDistrictName;
}
public void setfBizCode(String fBizCode) {
this.fBizCode = fBizCode;
}
public String getfBizCode() {
return fBizCode;
}
public void setfCompanyName(String fCompanyName) {
this.fCompanyName = fCompanyName;
}
public String getfCompanyName() {
return fCompanyName;
}
public void setfPipelineCertCode(String fPipelineCertCode) {
this.fPipelineCertCode = fPipelineCertCode;
}
public String getfPipelineCertCode() {
return fPipelineCertCode;
}
public void setfPipelineComp(String fPipelineComp) {
this.fPipelineComp = fPipelineComp;
}
public String getfPipelineComp() {
return fPipelineComp;
}
public void setfStationCertCode(String fStationCertCode) {
this.fStationCertCode = fStationCertCode;
}
public String getfStationCertCode() {
return fStationCertCode;
}
public void setfStationComp(String fStationComp) {
this.fStationComp = fStationComp;
}
public String getfStationComp() {
return fStationComp;
}
public void setfOtherCertCode(String fOtherCertCode) {
this.fOtherCertCode = fOtherCertCode;
}
public String getfOtherCertCode() {
return fOtherCertCode;
}
public void setfOtherComp(String fOtherComp) {
this.fOtherComp = fOtherComp;
}
public String getfOtherComp() {
return fOtherComp;
}
public void setfResponsibleCount(Integer fResponsibleCount) {
this.fResponsibleCount = fResponsibleCount;
}
public Integer getfResponsibleCount() {
return fResponsibleCount;
}
public void setfManagementCount(Integer fManagementCount) {
this.fManagementCount = fManagementCount;
}
public Integer getfManagementCount() {
return fManagementCount;
}
public void setfMaintenanceCount(Integer fMaintenanceCount) {
this.fMaintenanceCount = fMaintenanceCount;
}
public Integer getfMaintenanceCount() {
return fMaintenanceCount;
}
public void setfResponsibleCertCount(Integer fResponsibleCertCount) {
this.fResponsibleCertCount = fResponsibleCertCount;
}
public Integer getfResponsibleCertCount() {
return fResponsibleCertCount;
}
public void setfManagementCertCount(Integer fManagementCertCount) {
this.fManagementCertCount = fManagementCertCount;
}
public Integer getfManagementCertCount() {
return fManagementCertCount;
}
public void setfMaintenanceCertCount(Integer fMaintenanceCertCount) {
this.fMaintenanceCertCount = fMaintenanceCertCount;
}
public Integer getfMaintenanceCertCount() {
return fMaintenanceCertCount;
}
public void setfStationCount(Integer fStationCount) {
this.fStationCount = fStationCount;
}
public Integer getfStationCount() {
return fStationCount;
}
public void setfStorageStationCount(Integer fStorageStationCount) {
this.fStorageStationCount = fStorageStationCount;
}
public Integer getfStorageStationCount() {
return fStorageStationCount;
}
public void setfGasificationStationCount(Integer fGasificationStationCount) {
this.fGasificationStationCount = fGasificationStationCount;
}
public Integer getfGasificationStationCount() {
return fGasificationStationCount;
}
public void setfMixingStationCount(Integer fMixingStationCount) {
this.fMixingStationCount = fMixingStationCount;
}
public Integer getfMixingStationCount() {
return fMixingStationCount;
}
public void setfGasStationCount(Integer fGasStationCount) {
this.fGasStationCount = fGasStationCount;
}
public Integer getfGasStationCount() {
return fGasStationCount;
}
public void setfFillingStationCount(Integer fFillingStationCount) {
this.fFillingStationCount = fFillingStationCount;
}
public Integer getfFillingStationCount() {
return fFillingStationCount;
}
public void setfSupplyStationCount(Integer fSupplyStationCount) {
this.fSupplyStationCount = fSupplyStationCount;
}
public Integer getfSupplyStationCount() {
return fSupplyStationCount;
}
public void setfPressureStationCount(Integer fPressureStationCount) {
this.fPressureStationCount = fPressureStationCount;
}
public Integer getfPressureStationCount() {
return fPressureStationCount;
}
public void setfOtherStationCount(Integer fOtherStationCount) {
this.fOtherStationCount = fOtherStationCount;
}
public Integer getfOtherStationCount() {
return fOtherStationCount;
}
public void setfCreateTime(Date fCreateTime) {
this.fCreateTime = fCreateTime;
}
public Date getfCreateTime() {
return fCreateTime;
}
public void setfUpdateTime(Date fUpdateTime) {
this.fUpdateTime = fUpdateTime;
}
public Date getfUpdateTime() {
return fUpdateTime;
}
public String getIsReport() {
return isReport;
}
public void setIsReport(String isReport) {
this.isReport = isReport;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("fEnterpriseId", getfEnterpriseId())
.append("fCityName", getfCityName())
.append("fDistrictName", getfDistrictName())
.append("fBizCode", getfBizCode())
.append("fCompanyName", getfCompanyName())
.append("fPipelineCertCode", getfPipelineCertCode())
.append("fPipelineComp", getfPipelineComp())
.append("fStationCertCode", getfStationCertCode())
.append("fStationComp", getfStationComp())
.append("fOtherCertCode", getfOtherCertCode())
.append("fOtherComp", getfOtherComp())
.append("fResponsibleCount", getfResponsibleCount())
.append("fManagementCount", getfManagementCount())
.append("fMaintenanceCount", getfMaintenanceCount())
.append("fResponsibleCertCount", getfResponsibleCertCount())
.append("fManagementCertCount", getfManagementCertCount())
.append("fMaintenanceCertCount", getfMaintenanceCertCount())
.append("fStationCount", getfStationCount())
.append("fStorageStationCount", getfStorageStationCount())
.append("fGasificationStationCount", getfGasificationStationCount())
.append("fMixingStationCount", getfMixingStationCount())
.append("fGasStationCount", getfGasStationCount())
.append("fFillingStationCount", getfFillingStationCount())
.append("fSupplyStationCount", getfSupplyStationCount())
.append("fPressureStationCount", getfPressureStationCount())
.append("fOtherStationCount", getfOtherStationCount())
.append("fCreateTime", getfCreateTime())
.append("fUpdateTime", getfUpdateTime())
.toString();
}
}
\ No newline at end of file
package com.zehong.system.mapper;
import com.zehong.system.domain.TEmployedPeopleInfoChangelog;
import java.util.List;
/**
* 从业人员信息变更记录Mapper接口
*
* @author zehong
* @date 2026-03-09
*/
public interface TEmployedPeopleInfoChangelogMapper
{
/**
* 查询从业人员信息变更记录
*
* @param employedPeopleId 从业人员信息变更记录ID
* @return 从业人员信息变更记录
*/
public TEmployedPeopleInfoChangelog selectTEmployedPeopleInfoChangelogById(Long employedPeopleId);
/**
* 查询从业人员信息变更记录列表
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 从业人员信息变更记录集合
*/
public List<TEmployedPeopleInfoChangelog> selectTEmployedPeopleInfoChangelogList(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog);
/**
* 新增从业人员信息变更记录
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 结果
*/
public int insertTEmployedPeopleInfoChangelog(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog);
/**
* 修改从业人员信息变更记录
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 结果
*/
public int updateTEmployedPeopleInfoChangelog(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog);
/**
* 删除从业人员信息变更记录
*
* @param employedPeopleId 从业人员信息变更记录ID
* @return 结果
*/
public int deleteTEmployedPeopleInfoChangelogById(Long employedPeopleId);
/**
* 批量删除从业人员信息变更记录
*
* @param employedPeopleIds 需要删除的数据ID
* @return 结果
*/
public int deleteTEmployedPeopleInfoChangelogByIds(Long[] employedPeopleIds);
}
\ No newline at end of file
package com.zehong.system.mapper;
import java.util.List;
import com.zehong.system.domain.TStaEnterpriseInfor;
/**
* 年度行业指标汇总-燃气企业基本情况信息Mapper接口
*
* @author zehong
* @date 2026-03-10
*/
public interface TStaEnterpriseInforMapper
{
/**
* 查询年度行业指标汇总-燃气企业基本情况信息
*
* @param fEnterpriseId 年度行业指标汇总-燃气企业基本情况信息ID
* @return 年度行业指标汇总-燃气企业基本情况信息
*/
public TStaEnterpriseInfor selectTStaEnterpriseInforById(Long fEnterpriseId);
/**
* 查询年度行业指标汇总-燃气企业基本情况信息列表
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 年度行业指标汇总-燃气企业基本情况信息集合
*/
public List<TStaEnterpriseInfor> selectTStaEnterpriseInforList(TStaEnterpriseInfor tStaEnterpriseInfor);
/**
* 新增年度行业指标汇总-燃气企业基本情况信息
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 结果
*/
public int insertTStaEnterpriseInfor(TStaEnterpriseInfor tStaEnterpriseInfor);
/**
* 修改年度行业指标汇总-燃气企业基本情况信息
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 结果
*/
public int updateTStaEnterpriseInfor(TStaEnterpriseInfor tStaEnterpriseInfor);
/**
* 删除年度行业指标汇总-燃气企业基本情况信息
*
* @param fEnterpriseId 年度行业指标汇总-燃气企业基本情况信息ID
* @return 结果
*/
public int deleteTStaEnterpriseInforById(Long fEnterpriseId);
/**
* 批量删除年度行业指标汇总-燃气企业基本情况信息
*
* @param fEnterpriseIds 需要删除的数据ID
* @return 结果
*/
public int deleteTStaEnterpriseInforByIds(Long[] fEnterpriseIds);
}
\ No newline at end of file
package com.zehong.system.service;
import java.util.List;
import com.zehong.system.domain.TEmployedPeopleInfoChangelog;
/**
* 从业人员信息变更记录Service接口
*
* @author zehong
* @date 2026-03-09
*/
public interface ITEmployedPeopleInfoChangelogService
{
/**
* 查询从业人员信息变更记录
*
* @param employedPeopleId 从业人员信息变更记录ID
* @return 从业人员信息变更记录
*/
public TEmployedPeopleInfoChangelog selectTEmployedPeopleInfoChangelogById(Long employedPeopleId);
/**
* 查询从业人员信息变更记录列表
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 从业人员信息变更记录集合
*/
public List<TEmployedPeopleInfoChangelog> selectTEmployedPeopleInfoChangelogList(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog);
/**
* 新增从业人员信息变更记录
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 结果
*/
public int insertTEmployedPeopleInfoChangelog(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog);
/**
* 修改从业人员信息变更记录
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 结果
*/
public int updateTEmployedPeopleInfoChangelog(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog);
/**
* 批量删除从业人员信息变更记录
*
* @param employedPeopleIds 需要删除的从业人员信息变更记录ID
* @return 结果
*/
public int deleteTEmployedPeopleInfoChangelogByIds(Long[] employedPeopleIds);
/**
* 删除从业人员信息变更记录信息
*
* @param employedPeopleId 从业人员信息变更记录ID
* @return 结果
*/
public int deleteTEmployedPeopleInfoChangelogById(Long employedPeopleId);
}
\ No newline at end of file
package com.zehong.system.service;
import java.util.List;
import com.zehong.system.domain.TStaEnterpriseInfor;
/**
* 年度行业指标汇总-燃气企业基本情况信息Service接口
*
* @author zehong
* @date 2026-03-10
*/
public interface ITStaEnterpriseInforService
{
/**
* 查询年度行业指标汇总-燃气企业基本情况信息
*
* @param fEnterpriseId 年度行业指标汇总-燃气企业基本情况信息ID
* @return 年度行业指标汇总-燃气企业基本情况信息
*/
public TStaEnterpriseInfor selectTStaEnterpriseInforById(Long fEnterpriseId);
/**
* 查询年度行业指标汇总-燃气企业基本情况信息列表
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 年度行业指标汇总-燃气企业基本情况信息集合
*/
public List<TStaEnterpriseInfor> selectTStaEnterpriseInforList(TStaEnterpriseInfor tStaEnterpriseInfor);
/**
* 新增年度行业指标汇总-燃气企业基本情况信息
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 结果
*/
public int insertTStaEnterpriseInfor(TStaEnterpriseInfor tStaEnterpriseInfor);
/**
* 修改年度行业指标汇总-燃气企业基本情况信息
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 结果
*/
public int updateTStaEnterpriseInfor(TStaEnterpriseInfor tStaEnterpriseInfor);
/**
* 批量删除年度行业指标汇总-燃气企业基本情况信息
*
* @param fEnterpriseIds 需要删除的年度行业指标汇总-燃气企业基本情况信息ID
* @return 结果
*/
public int deleteTStaEnterpriseInforByIds(Long[] fEnterpriseIds);
/**
* 删除年度行业指标汇总-燃气企业基本情况信息信息
*
* @param fEnterpriseId 年度行业指标汇总-燃气企业基本情况信息ID
* @return 结果
*/
public int deleteTStaEnterpriseInforById(Long fEnterpriseId);
}
\ No newline at end of file
package com.zehong.system.service.impl;
import java.util.List;
import com.zehong.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.TEmployedPeopleInfoChangelogMapper;
import com.zehong.system.domain.TEmployedPeopleInfoChangelog;
import com.zehong.system.service.ITEmployedPeopleInfoChangelogService;
/**
* 从业人员信息变更记录Service业务层处理
*
* @author zehong
* @date 2026-03-09
*/
@Service
public class TEmployedPeopleInfoChangelogServiceImpl implements ITEmployedPeopleInfoChangelogService
{
@Autowired
private TEmployedPeopleInfoChangelogMapper tEmployedPeopleInfoChangelogMapper;
/**
* 查询从业人员信息变更记录
*
* @param employedPeopleId 从业人员信息变更记录ID
* @return 从业人员信息变更记录
*/
@Override
public TEmployedPeopleInfoChangelog selectTEmployedPeopleInfoChangelogById(Long employedPeopleId)
{
return tEmployedPeopleInfoChangelogMapper.selectTEmployedPeopleInfoChangelogById(employedPeopleId);
}
/**
* 查询从业人员信息变更记录列表
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 从业人员信息变更记录
*/
@Override
public List<TEmployedPeopleInfoChangelog> selectTEmployedPeopleInfoChangelogList(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog)
{
return tEmployedPeopleInfoChangelogMapper.selectTEmployedPeopleInfoChangelogList(tEmployedPeopleInfoChangelog);
}
/**
* 新增从业人员信息变更记录
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 结果
*/
@Override
public int insertTEmployedPeopleInfoChangelog(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog)
{
tEmployedPeopleInfoChangelog.setCreateTime(DateUtils.getNowDate());
return tEmployedPeopleInfoChangelogMapper.insertTEmployedPeopleInfoChangelog(tEmployedPeopleInfoChangelog);
}
/**
* 修改从业人员信息变更记录
*
* @param tEmployedPeopleInfoChangelog 从业人员信息变更记录
* @return 结果
*/
@Override
public int updateTEmployedPeopleInfoChangelog(TEmployedPeopleInfoChangelog tEmployedPeopleInfoChangelog)
{
tEmployedPeopleInfoChangelog.setUpdateTime(DateUtils.getNowDate());
return tEmployedPeopleInfoChangelogMapper.updateTEmployedPeopleInfoChangelog(tEmployedPeopleInfoChangelog);
}
/**
* 批量删除从业人员信息变更记录
*
* @param employedPeopleIds 需要删除的从业人员信息变更记录ID
* @return 结果
*/
@Override
public int deleteTEmployedPeopleInfoChangelogByIds(Long[] employedPeopleIds)
{
return tEmployedPeopleInfoChangelogMapper.deleteTEmployedPeopleInfoChangelogByIds(employedPeopleIds);
}
/**
* 删除从业人员信息变更记录信息
*
* @param employedPeopleId 从业人员信息变更记录ID
* @return 结果
*/
@Override
public int deleteTEmployedPeopleInfoChangelogById(Long employedPeopleId)
{
return tEmployedPeopleInfoChangelogMapper.deleteTEmployedPeopleInfoChangelogById(employedPeopleId);
}
}
\ No newline at end of file
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.TStaEnterpriseInforMapper;
import com.zehong.system.domain.TStaEnterpriseInfor;
import com.zehong.system.service.ITStaEnterpriseInforService;
/**
* 年度行业指标汇总-燃气企业基本情况信息Service业务层处理
*
* @author zehong
* @date 2026-03-10
*/
@Service
public class TStaEnterpriseInforServiceImpl implements ITStaEnterpriseInforService
{
@Autowired
private TStaEnterpriseInforMapper tStaEnterpriseInforMapper;
/**
* 查询年度行业指标汇总-燃气企业基本情况信息
*
* @param fEnterpriseId 年度行业指标汇总-燃气企业基本情况信息ID
* @return 年度行业指标汇总-燃气企业基本情况信息
*/
@Override
public TStaEnterpriseInfor selectTStaEnterpriseInforById(Long fEnterpriseId)
{
return tStaEnterpriseInforMapper.selectTStaEnterpriseInforById(fEnterpriseId);
}
/**
* 查询年度行业指标汇总-燃气企业基本情况信息列表
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 年度行业指标汇总-燃气企业基本情况信息
*/
@Override
public List<TStaEnterpriseInfor> selectTStaEnterpriseInforList(TStaEnterpriseInfor tStaEnterpriseInfor)
{
return tStaEnterpriseInforMapper.selectTStaEnterpriseInforList(tStaEnterpriseInfor);
}
/**
* 新增年度行业指标汇总-燃气企业基本情况信息
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 结果
*/
@Override
public int insertTStaEnterpriseInfor(TStaEnterpriseInfor tStaEnterpriseInfor)
{
return tStaEnterpriseInforMapper.insertTStaEnterpriseInfor(tStaEnterpriseInfor);
}
/**
* 修改年度行业指标汇总-燃气企业基本情况信息
*
* @param tStaEnterpriseInfor 年度行业指标汇总-燃气企业基本情况信息
* @return 结果
*/
@Override
public int updateTStaEnterpriseInfor(TStaEnterpriseInfor tStaEnterpriseInfor)
{
return tStaEnterpriseInforMapper.updateTStaEnterpriseInfor(tStaEnterpriseInfor);
}
/**
* 批量删除年度行业指标汇总-燃气企业基本情况信息
*
* @param fEnterpriseIds 需要删除的年度行业指标汇总-燃气企业基本情况信息ID
* @return 结果
*/
@Override
public int deleteTStaEnterpriseInforByIds(Long[] fEnterpriseIds)
{
return tStaEnterpriseInforMapper.deleteTStaEnterpriseInforByIds(fEnterpriseIds);
}
/**
* 删除年度行业指标汇总-燃气企业基本情况信息信息
*
* @param fEnterpriseId 年度行业指标汇总-燃气企业基本情况信息ID
* @return 结果
*/
@Override
public int deleteTStaEnterpriseInforById(Long fEnterpriseId)
{
return tStaEnterpriseInforMapper.deleteTStaEnterpriseInforById(fEnterpriseId);
}
}
\ No newline at end of file
<?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.TEmployedPeopleInfoChangelogMapper">
<resultMap type="com.zehong.system.domain.TEmployedPeopleInfoChangelog" id="TEmployedPeopleInfoChangelogResult">
<result property="id" column="id" />
<result property="employedPeopleName" column="employed_people_name" />
<result property="idCard" column="id_card" />
<result property="createTime" column="create_time" />
<result property="updateTime" column="update_time" />
<result property="beforeChange" column="before_change" />
<result property="afterChange" column="after_change" />
<result property="isDel" column="is_del" />
<result property="remarks" column="remarks" />
</resultMap>
<sql id="selectTEmployedPeopleInfoChangelogVo">
select id, employed_people_name, id_card, create_time, update_time, before_change, after_change, is_del, remarks from t_employed_people_info_changelog
</sql>
<select id="selectTEmployedPeopleInfoChangelogList" parameterType="com.zehong.system.domain.TEmployedPeopleInfoChangelog" resultMap="TEmployedPeopleInfoChangelogResult">
<include refid="selectTEmployedPeopleInfoChangelogVo"/>
<where>
<if test="employedPeopleName != null and employedPeopleName != ''"> and employed_people_name like concat('%', #{employedPeopleName}, '%')</if>
<if test="idCard != null and idCard != ''"> and id_card = #{idCard}</if>
<if test="beforeChange != null and beforeChange != ''"> and before_change = #{beforeChange}</if>
<if test="afterChange != null and afterChange != ''"> and after_change = #{afterChange}</if>
<if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
<if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if>
</where>
</select>
<select id="selectTEmployedPeopleInfoChangelogById" parameterType="Long" resultMap="TEmployedPeopleInfoChangelogResult">
<include refid="selectTEmployedPeopleInfoChangelogVo"/>
where id = #{id}
</select>
<insert id="insertTEmployedPeopleInfoChangelog" parameterType="com.zehong.system.domain.TEmployedPeopleInfoChangelog" useGeneratedKeys="true" keyProperty="id">
insert into t_employed_people_info_changelog
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="employedPeopleName != null">employed_people_name,</if>
<if test="idCard != null">id_card,</if>
<if test="createTime != null">create_time,</if>
<if test="updateTime != null">update_time,</if>
<if test="beforeChange != null">before_change,</if>
<if test="afterChange != null">after_change,</if>
<if test="isDel != null">is_del,</if>
<if test="remarks != null">remarks,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="employedPeopleName != null">#{employedPeopleName},</if>
<if test="idCard != null">#{idCard},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="beforeChange != null">#{beforeChange},</if>
<if test="afterChange != null">#{afterChange},</if>
<if test="isDel != null">#{isDel},</if>
<if test="remarks != null">#{remarks},</if>
</trim>
</insert>
<update id="updateTEmployedPeopleInfoChangelog" parameterType="com.zehong.system.domain.TEmployedPeopleInfoChangelog">
update t_employed_people_info_changelog
<trim prefix="SET" suffixOverrides=",">
<if test="employedPeopleName != null">employed_people_name = #{employedPeopleName},</if>
<if test="idCard != null">id_card = #{idCard},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="beforeChange != null">before_change = #{beforeChange},</if>
<if test="afterChange != null">after_change = #{afterChange},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="remarks != null">remarks = #{remarks},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteTEmployedPeopleInfoChangelogById" parameterType="Long">
delete from t_employed_people_info_changelog where id = #{id}
</delete>
<delete id="deleteTEmployedPeopleInfoChangelogByIds" parameterType="String">
delete from t_employed_people_info_changelog where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?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.TStaEnterpriseInforMapper">
<resultMap type="com.zehong.system.domain.TStaEnterpriseInfor" id="TStaEnterpriseInforResult">
<result property="fEnterpriseId" column="f_enterprise_id" />
<result property="fCityName" column="f_city_name" />
<result property="fDistrictName" column="f_district_name" />
<result property="fBizCode" column="f_biz_code" />
<result property="fCompanyName" column="f_company_name" />
<result property="fPipelineCertCode" column="f_pipeline_cert_code" />
<result property="fPipelineComp" column="f_pipeline_comp" />
<result property="fStationCertCode" column="f_station_cert_code" />
<result property="fStationComp" column="f_station_comp" />
<result property="fOtherCertCode" column="f_other_cert_code" />
<result property="fOtherComp" column="f_other_comp" />
<result property="fResponsibleCount" column="f_responsible_count" />
<result property="fManagementCount" column="f_management_count" />
<result property="fMaintenanceCount" column="f_maintenance_count" />
<result property="fResponsibleCertCount" column="f_responsible_cert_count" />
<result property="fManagementCertCount" column="f_management_cert_count" />
<result property="fMaintenanceCertCount" column="f_maintenance_cert_count" />
<result property="fStationCount" column="f_station_count" />
<result property="fStorageStationCount" column="f_storage_station_count" />
<result property="fGasificationStationCount" column="f_gasification_station_count" />
<result property="fMixingStationCount" column="f_mixing_station_count" />
<result property="fGasStationCount" column="f_gas_station_count" />
<result property="fFillingStationCount" column="f_filling_station_count" />
<result property="fSupplyStationCount" column="f_supply_station_count" />
<result property="fPressureStationCount" column="f_pressure_station_count" />
<result property="fOtherStationCount" column="f_other_station_count" />
<result property="fCreateTime" column="f_create_time" />
<result property="fUpdateTime" column="f_update_time" />
<result property="isReport" column="is_report"/>
</resultMap>
<sql id="selectTStaEnterpriseInforVo">
select f_enterprise_id, f_city_name, f_district_name, f_biz_code, f_company_name, f_pipeline_cert_code, f_pipeline_comp, f_station_cert_code, f_station_comp, f_other_cert_code, f_other_comp, f_responsible_count, f_management_count, f_maintenance_count, f_responsible_cert_count, f_management_cert_count, f_maintenance_cert_count, f_station_count, f_storage_station_count, f_gasification_station_count, f_mixing_station_count, f_gas_station_count, f_filling_station_count, f_supply_station_count, f_pressure_station_count, f_other_station_count, f_create_time, f_update_time, is_report from t_sta_enterprise_infor
</sql>
<select id="selectTStaEnterpriseInforList" parameterType="com.zehong.system.domain.TStaEnterpriseInfor" resultMap="TStaEnterpriseInforResult">
<include refid="selectTStaEnterpriseInforVo"/>
<where>
<if test="fCityName != null and fCityName != ''"> and f_city_name like concat('%', #{fCityName}, '%')</if>
<if test="fDistrictName != null and fDistrictName != ''"> and f_district_name like concat('%', #{fDistrictName}, '%')</if>
<if test="fBizCode != null and fBizCode != ''"> and f_biz_code = #{fBizCode}</if>
<if test="fCompanyName != null and fCompanyName != ''"> and f_company_name like concat('%', #{fCompanyName}, '%')</if>
<if test="fPipelineCertCode != null and fPipelineCertCode != ''"> and f_pipeline_cert_code = #{fPipelineCertCode}</if>
<if test="fPipelineComp != null and fPipelineComp != ''"> and f_pipeline_comp = #{fPipelineComp}</if>
<if test="fStationCertCode != null and fStationCertCode != ''"> and f_station_cert_code = #{fStationCertCode}</if>
<if test="fStationComp != null and fStationComp != ''"> and f_station_comp = #{fStationComp}</if>
<if test="fOtherCertCode != null and fOtherCertCode != ''"> and f_other_cert_code = #{fOtherCertCode}</if>
<if test="fOtherComp != null and fOtherComp != ''"> and f_other_comp = #{fOtherComp}</if>
<if test="fResponsibleCount != null "> and f_responsible_count = #{fResponsibleCount}</if>
<if test="fManagementCount != null "> and f_management_count = #{fManagementCount}</if>
<if test="fMaintenanceCount != null "> and f_maintenance_count = #{fMaintenanceCount}</if>
<if test="fResponsibleCertCount != null "> and f_responsible_cert_count = #{fResponsibleCertCount}</if>
<if test="fManagementCertCount != null "> and f_management_cert_count = #{fManagementCertCount}</if>
<if test="fMaintenanceCertCount != null "> and f_maintenance_cert_count = #{fMaintenanceCertCount}</if>
<if test="fStationCount != null "> and f_station_count = #{fStationCount}</if>
<if test="fStorageStationCount != null "> and f_storage_station_count = #{fStorageStationCount}</if>
<if test="fGasificationStationCount != null "> and f_gasification_station_count = #{fGasificationStationCount}</if>
<if test="fMixingStationCount != null "> and f_mixing_station_count = #{fMixingStationCount}</if>
<if test="fGasStationCount != null "> and f_gas_station_count = #{fGasStationCount}</if>
<if test="fFillingStationCount != null "> and f_filling_station_count = #{fFillingStationCount}</if>
<if test="fSupplyStationCount != null "> and f_supply_station_count = #{fSupplyStationCount}</if>
<if test="fPressureStationCount != null "> and f_pressure_station_count = #{fPressureStationCount}</if>
<if test="fOtherStationCount != null "> and f_other_station_count = #{fOtherStationCount}</if>
<if test="fCreateTime != null "> and f_create_time = #{fCreateTime}</if>
<if test="fUpdateTime != null "> and f_update_time = #{fUpdateTime}</if>
<if test="isReport != null "> and is_report = #{isReport}</if>
</where>
</select>
<select id="selectTStaEnterpriseInforById" parameterType="Long" resultMap="TStaEnterpriseInforResult">
<include refid="selectTStaEnterpriseInforVo"/>
where f_enterprise_id = #{fEnterpriseId}
</select>
<insert id="insertTStaEnterpriseInfor" parameterType="com.zehong.system.domain.TStaEnterpriseInfor" useGeneratedKeys="true" keyProperty="fEnterpriseId">
insert into t_sta_enterprise_infor
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="fCityName != null and fCityName != ''">f_city_name,</if>
<if test="fDistrictName != null and fDistrictName != ''">f_district_name,</if>
<if test="fBizCode != null and fBizCode != ''">f_biz_code,</if>
<if test="fCompanyName != null and fCompanyName != ''">f_company_name,</if>
<if test="fPipelineCertCode != null">f_pipeline_cert_code,</if>
<if test="fPipelineComp != null">f_pipeline_comp,</if>
<if test="fStationCertCode != null">f_station_cert_code,</if>
<if test="fStationComp != null">f_station_comp,</if>
<if test="fOtherCertCode != null">f_other_cert_code,</if>
<if test="fOtherComp != null">f_other_comp,</if>
<if test="fResponsibleCount != null">f_responsible_count,</if>
<if test="fManagementCount != null">f_management_count,</if>
<if test="fMaintenanceCount != null">f_maintenance_count,</if>
<if test="fResponsibleCertCount != null">f_responsible_cert_count,</if>
<if test="fManagementCertCount != null">f_management_cert_count,</if>
<if test="fMaintenanceCertCount != null">f_maintenance_cert_count,</if>
<if test="fStationCount != null">f_station_count,</if>
<if test="fStorageStationCount != null">f_storage_station_count,</if>
<if test="fGasificationStationCount != null">f_gasification_station_count,</if>
<if test="fMixingStationCount != null">f_mixing_station_count,</if>
<if test="fGasStationCount != null">f_gas_station_count,</if>
<if test="fFillingStationCount != null">f_filling_station_count,</if>
<if test="fSupplyStationCount != null">f_supply_station_count,</if>
<if test="fPressureStationCount != null">f_pressure_station_count,</if>
<if test="fOtherStationCount != null">f_other_station_count,</if>
<if test="fCreateTime != null">f_create_time,</if>
<if test="fUpdateTime != null">f_update_time,</if>
<if test="isReport != null">is_report,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="fCityName != null and fCityName != ''">#{fCityName},</if>
<if test="fDistrictName != null and fDistrictName != ''">#{fDistrictName},</if>
<if test="fBizCode != null and fBizCode != ''">#{fBizCode},</if>
<if test="fCompanyName != null and fCompanyName != ''">#{fCompanyName},</if>
<if test="fPipelineCertCode != null">#{fPipelineCertCode},</if>
<if test="fPipelineComp != null">#{fPipelineComp},</if>
<if test="fStationCertCode != null">#{fStationCertCode},</if>
<if test="fStationComp != null">#{fStationComp},</if>
<if test="fOtherCertCode != null">#{fOtherCertCode},</if>
<if test="fOtherComp != null">#{fOtherComp},</if>
<if test="fResponsibleCount != null">#{fResponsibleCount},</if>
<if test="fManagementCount != null">#{fManagementCount},</if>
<if test="fMaintenanceCount != null">#{fMaintenanceCount},</if>
<if test="fResponsibleCertCount != null">#{fResponsibleCertCount},</if>
<if test="fManagementCertCount != null">#{fManagementCertCount},</if>
<if test="fMaintenanceCertCount != null">#{fMaintenanceCertCount},</if>
<if test="fStationCount != null">#{fStationCount},</if>
<if test="fStorageStationCount != null">#{fStorageStationCount},</if>
<if test="fGasificationStationCount != null">#{fGasificationStationCount},</if>
<if test="fMixingStationCount != null">#{fMixingStationCount},</if>
<if test="fGasStationCount != null">#{fGasStationCount},</if>
<if test="fFillingStationCount != null">#{fFillingStationCount},</if>
<if test="fSupplyStationCount != null">#{fSupplyStationCount},</if>
<if test="fPressureStationCount != null">#{fPressureStationCount},</if>
<if test="fOtherStationCount != null">#{fOtherStationCount},</if>
<if test="fCreateTime != null">#{fCreateTime},</if>
<if test="fUpdateTime != null">#{fUpdateTime},</if>
<if test="isReport != null">#{isReport},</if>
</trim>
</insert>
<update id="updateTStaEnterpriseInfor" parameterType="com.zehong.system.domain.TStaEnterpriseInfor">
update t_sta_enterprise_infor
<trim prefix="SET" suffixOverrides=",">
<if test="fCityName != null and fCityName != ''">f_city_name = #{fCityName},</if>
<if test="fDistrictName != null and fDistrictName != ''">f_district_name = #{fDistrictName},</if>
<if test="fBizCode != null and fBizCode != ''">f_biz_code = #{fBizCode},</if>
<if test="fCompanyName != null and fCompanyName != ''">f_company_name = #{fCompanyName},</if>
<if test="fPipelineCertCode != null">f_pipeline_cert_code = #{fPipelineCertCode},</if>
<if test="fPipelineComp != null">f_pipeline_comp = #{fPipelineComp},</if>
<if test="fStationCertCode != null">f_station_cert_code = #{fStationCertCode},</if>
<if test="fStationComp != null">f_station_comp = #{fStationComp},</if>
<if test="fOtherCertCode != null">f_other_cert_code = #{fOtherCertCode},</if>
<if test="fOtherComp != null">f_other_comp = #{fOtherComp},</if>
<if test="fResponsibleCount != null">f_responsible_count = #{fResponsibleCount},</if>
<if test="fManagementCount != null">f_management_count = #{fManagementCount},</if>
<if test="fMaintenanceCount != null">f_maintenance_count = #{fMaintenanceCount},</if>
<if test="fResponsibleCertCount != null">f_responsible_cert_count = #{fResponsibleCertCount},</if>
<if test="fManagementCertCount != null">f_management_cert_count = #{fManagementCertCount},</if>
<if test="fMaintenanceCertCount != null">f_maintenance_cert_count = #{fMaintenanceCertCount},</if>
<if test="fStationCount != null">f_station_count = #{fStationCount},</if>
<if test="fStorageStationCount != null">f_storage_station_count = #{fStorageStationCount},</if>
<if test="fGasificationStationCount != null">f_gasification_station_count = #{fGasificationStationCount},</if>
<if test="fMixingStationCount != null">f_mixing_station_count = #{fMixingStationCount},</if>
<if test="fGasStationCount != null">f_gas_station_count = #{fGasStationCount},</if>
<if test="fFillingStationCount != null">f_filling_station_count = #{fFillingStationCount},</if>
<if test="fSupplyStationCount != null">f_supply_station_count = #{fSupplyStationCount},</if>
<if test="fPressureStationCount != null">f_pressure_station_count = #{fPressureStationCount},</if>
<if test="fOtherStationCount != null">f_other_station_count = #{fOtherStationCount},</if>
<if test="fCreateTime != null">f_create_time = #{fCreateTime},</if>
<if test="fUpdateTime != null">f_update_time = #{fUpdateTime},</if>
<if test="isReport != null">is_report = #{isReport},</if>
</trim>
where f_enterprise_id = #{fEnterpriseId}
</update>
<delete id="deleteTStaEnterpriseInforById" parameterType="Long">
delete from t_sta_enterprise_infor where f_enterprise_id = #{fEnterpriseId}
</delete>
<delete id="deleteTStaEnterpriseInforByIds" parameterType="String">
delete from t_sta_enterprise_infor where f_enterprise_id in
<foreach item="fEnterpriseId" collection="array" open="(" separator="," close=")">
#{fEnterpriseId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
import request from '@/utils/request'
// 查询从业人员信息变更记录列表
export function listChangelog(query) {
return request({
url: '/system/changelog/list',
method: 'get',
params: query
})
}
// 查询从业人员信息变更记录详细
export function getChangelog(employedPeopleId) {
return request({
url: '/system/changelog/' + employedPeopleId,
method: 'get'
})
}
// 新增从业人员信息变更记录
export function addChangelog(data) {
return request({
url: '/system/changelog',
method: 'post',
data: data
})
}
// 修改从业人员信息变更记录
export function updateChangelog(data) {
return request({
url: '/system/changelog',
method: 'put',
data: data
})
}
// 删除从业人员信息变更记录
export function delChangelog(employedPeopleId) {
return request({
url: '/system/changelog/' + employedPeopleId,
method: 'delete'
})
}
// 导出从业人员信息变更记录
export function exportChangelog(query) {
return request({
url: '/system/changelog/export',
method: 'get',
params: query
})
}
import request from '@/utils/request'
// 查询年度行业指标汇总-燃气企业基本情况信息列表
export function listInfor(query) {
return request({
url: '/system/infor/list',
method: 'get',
params: query
})
}
// 查询年度行业指标汇总-燃气企业基本情况信息详细
export function getInfor(fEnterpriseId) {
return request({
url: '/system/infor/' + fEnterpriseId,
method: 'get'
})
}
// 新增年度行业指标汇总-燃气企业基本情况信息
export function addInfor(data) {
return request({
url: '/system/infor',
method: 'post',
data: data
})
}
// 修改年度行业指标汇总-燃气企业基本情况信息
export function updateInfor(data) {
return request({
url: '/system/infor',
method: 'put',
data: data
})
}
// 删除年度行业指标汇总-燃气企业基本情况信息
export function delInfor(fEnterpriseId) {
return request({
url: '/system/infor/' + fEnterpriseId,
method: 'delete'
})
}
// 导出年度行业指标汇总-燃气企业基本情况信息
export function exportInfor(query) {
return request({
url: '/system/infor/export',
method: 'get',
params: query
})
}
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="统一社会信用代码" prop="fBizCode">
<el-input
v-model="queryParams.fBizCode"
placeholder="请输入统一社会信用代码"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="企业名称" prop="fCompanyName">
<el-input
v-model="queryParams.fCompanyName"
placeholder="请输入企业名称"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="创建时间" prop="fCreateTime">
<el-date-picker clearable size="small"
v-model="queryParams.fCreateTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择创建时间">
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
:loading="exportLoading"
@click="handleExport"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="inforList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="所属区县名称" align="center" prop="fDistrictName" />
<el-table-column label="统一社会信用代码" align="center" prop="fBizCode" />
<el-table-column label="企业名称" align="center" prop="fCompanyName" />
<el-table-column label="管道燃气许可证号" align="center" prop="fPipelineCertCode" />
<el-table-column label="创建时间" align="center" prop="fCreateTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.fCreateTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="handleView(scope.row)"
>详情</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
>删除</el-button>
<el-button
size="mini"
type="text"
v-if="scope.row.isReport == '0'"
@click="report(scope.row)"
>上报</el-button>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改年度行业指标汇总 - 燃气企业基本情况信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="1200px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="200px">
<el-row>
<el-col :span="12">
<el-form-item label="所属市名称" prop="fCityName">
<el-input v-model="form.fCityName" placeholder="请输入所属市名称" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="所属区县名称" prop="fDistrictName">
<el-input v-model="form.fDistrictName" placeholder="请输入所属区县名称" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="统一社会信用代码" prop="fBizCode">
<el-input v-model="form.fBizCode" placeholder="请输入统一社会信用代码" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="企业名称" prop="fCompanyName">
<el-input v-model="form.fCompanyName" placeholder="请输入企业名称" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="管道燃气许可证号" prop="fPipelineCertCode">
<el-input v-model="form.fPipelineCertCode" placeholder="请输入管道燃气许可证号" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="管道燃气企业经营状况" prop="fPipelineComp">
<el-input v-model="form.fPipelineComp" placeholder="请输入管道燃气企业经营状况" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="燃气汽车加气站企业许可证号" prop="fStationCertCode">
<el-input v-model="form.fStationCertCode" placeholder="请输入燃气汽车加气站企业许可证号" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="燃气汽车加气站经营状况" prop="fStationComp">
<el-input v-model="form.fStationComp" placeholder="请输入燃气汽车加气站经营状况" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="其他经营类企业许可证号" prop="fOtherCertCode">
<el-input v-model="form.fOtherCertCode" placeholder="请输入其他经营类企业许可证号" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="其他经营类企业经营情况" prop="fOtherComp">
<el-input v-model="form.fOtherComp" placeholder="请输入其他经营类企业经营情况" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="企业主要负责人数量" prop="fResponsibleCount">
<el-input v-model="form.fResponsibleCount" placeholder="请输入企业主要负责人数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="安全生产管理人数量" prop="fManagementCount">
<el-input v-model="form.fManagementCount" placeholder="请输入安全生产管理人数量" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="运行、维护和抢修人数量" prop="fMaintenanceCount">
<el-input v-model="form.fMaintenanceCount" placeholder="请输入运行、维护和抢修人数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="企业主要负责人持证数量" prop="fResponsibleCertCount">
<el-input v-model="form.fResponsibleCertCount" placeholder="请输入企业主要负责人持证数量" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="安全生产管理人持证数量" prop="fManagementCertCount">
<el-input v-model="form.fManagementCertCount" placeholder="请输入安全生产管理人持证数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="运行、维护和抢修人支持数量" prop="fMaintenanceCertCount">
<el-input v-model="form.fMaintenanceCertCount" placeholder="请输入运行、维护和抢修人支持数量" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="门站数量" prop="fStationCount">
<el-input v-model="form.fStationCount" placeholder="请输入门站数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="燃气储配站数量" prop="fStorageStationCount">
<el-input v-model="form.fStorageStationCount" placeholder="请输入燃气储配站数量" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="气化站数量" prop="fGasificationStationCount">
<el-input v-model="form.fGasificationStationCount" placeholder="请输入气化站数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="混气站数量" prop="fMixingStationCount">
<el-input v-model="form.fMixingStationCount" placeholder="请输入混气站数量" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="加气站数量" prop="fGasStationCount">
<el-input v-model="form.fGasStationCount" placeholder="请输入加气站数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="灌装站数量" prop="fFillingStationCount">
<el-input v-model="form.fFillingStationCount" placeholder="请输入灌装站数量" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="供应站数量" prop="fSupplyStationCount">
<el-input v-model="form.fSupplyStationCount" placeholder="请输入供应站数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="调压站数量" prop="fPressureStationCount">
<el-input v-model="form.fPressureStationCount" placeholder="请输入调压站数量" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="其他站数量" prop="fOtherStationCount">
<el-input v-model="form.fOtherStationCount" placeholder="请输入其他站数量" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="创建时间" prop="fCreateTime">
<el-date-picker clearable size="small"
v-model="form.fCreateTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择创建时间">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
<!-- 查看详情对话框 -->
<el-dialog title="详情" :visible.sync="viewOpen" width="1200px" append-to-body>
<el-form label-width="200px">
<el-row>
<el-col :span="12">
<el-form-item label="所属市名称">
<span>{{ viewForm.fCityName }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="所属区县名称">
<span>{{ viewForm.fDistrictName }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="统一社会信用代码">
<span>{{ viewForm.fBizCode }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="企业名称">
<span>{{ viewForm.fCompanyName }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="管道燃气许可证号">
<span>{{ viewForm.fPipelineCertCode }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="管道燃气企业经营状况">
<span>{{ viewForm.fPipelineComp }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="燃气汽车加气站企业许可证号">
<span>{{ viewForm.fStationCertCode }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="燃气汽车加气站经营状况">
<span>{{ viewForm.fStationComp }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="其他经营类企业许可证号">
<span>{{ viewForm.fOtherCertCode }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="其他经营类企业经营情况">
<span>{{ viewForm.fOtherComp }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="企业主要负责人数量">
<span>{{ viewForm.fResponsibleCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="安全生产管理人数量">
<span>{{ viewForm.fManagementCount }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="运行、维护和抢修人数量">
<span>{{ viewForm.fMaintenanceCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="企业主要负责人持证数量">
<span>{{ viewForm.fResponsibleCertCount }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="安全生产管理人持证数量">
<span>{{ viewForm.fManagementCertCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="运行、维护和抢修人支持数量">
<span>{{ viewForm.fMaintenanceCertCount }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="门站数量">
<span>{{ viewForm.fStationCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="燃气储配站数量">
<span>{{ viewForm.fStorageStationCount }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="气化站数量">
<span>{{ viewForm.fGasificationStationCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="混气站数量">
<span>{{ viewForm.fMixingStationCount }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="加气站数量">
<span>{{ viewForm.fGasStationCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="灌装站数量">
<span>{{ viewForm.fFillingStationCount }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="供应站数量">
<span>{{ viewForm.fSupplyStationCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="调压站数量">
<span>{{ viewForm.fPressureStationCount }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="其他站数量">
<span>{{ viewForm.fOtherStationCount }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="创建时间">
<span>{{ parseTime(viewForm.fCreateTime, '{y}-{m}-{d}') }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="更新时间">
<span>{{ parseTime(viewForm.fUpdateTime, '{y}-{m}-{d}') }}</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="viewOpen = false"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listInfor, getInfor, delInfor, addInfor, updateInfor, exportInfor } from "@/api/regulation/infor";
import {updateTask} from "@/api/inspectionWork/workTask";
export default {
name: "Infor",
data() {
return {
// 遮罩层
loading: true,
// 导出遮罩层
exportLoading: false,
// 选中数组
ids: [],
// 非单个禁用
single: true,
// 非多个禁用
multiple: true,
// 显示搜索条件
showSearch: true,
// 总条数
total: 0,
// 年度行业指标汇总 - 燃气企业基本情况信息表格数据
inforList: [],
// 弹出层标题
title: "",
// 是否显示弹出层
open: false,
// 是否显示详情弹出层
viewOpen: false,
// 详情表单数据
viewForm: {},
// 查询参数
queryParams: {
pageNum: 1,
pageSize: 10,
fCityName: null,
fDistrictName: null,
fBizCode: null,
fCompanyName: null,
fPipelineCertCode: null,
fPipelineComp: null,
fStationCertCode: null,
fStationComp: null,
fOtherCertCode: null,
fOtherComp: null,
fResponsibleCount: null,
fManagementCount: null,
fMaintenanceCount: null,
fResponsibleCertCount: null,
fManagementCertCount: null,
fMaintenanceCertCount: null,
fStationCount: null,
fStorageStationCount: null,
fGasificationStationCount: null,
fMixingStationCount: null,
fGasStationCount: null,
fFillingStationCount: null,
fSupplyStationCount: null,
fPressureStationCount: null,
fOtherStationCount: null,
fCreateTime: null,
fUpdateTime: null
},
// 表单参数
form: {},
// 表单校验
rules: {
fCityName: [
{ required: true, message: "所属市名称不能为空", trigger: "blur" }
],
fDistrictName: [
{ required: true, message: "所属区县名称不能为空", trigger: "blur" }
],
fBizCode: [
{ required: true, message: "统一社会信用代码不能为空", trigger: "blur" }
],
fCompanyName: [
{ required: true, message: "企业名称不能为空", trigger: "blur" }
],
fResponsibleCount: [
{ required: true, message: "企业主要负责人数量不能为空", trigger: "blur" }
],
fManagementCount: [
{ required: true, message: "安全生产管理人数量不能为空", trigger: "blur" }
],
fMaintenanceCount: [
{ required: true, message: "运行、维护和抢修人数量不能为空", trigger: "blur" }
],
fResponsibleCertCount: [
{ required: true, message: "企业主要负责人持证数量不能为空", trigger: "blur" }
],
fManagementCertCount: [
{ required: true, message: "安全生产管理人持证数量不能为空", trigger: "blur" }
],
fMaintenanceCertCount: [
{ required: true, message: "运行、维护和抢修人支持数量不能为空", trigger: "blur" }
],
}
};
},
created() {
this.getList();
},
methods: {
/** 查询年度行业指标汇总 - 燃气企业基本情况信息列表 */
getList() {
this.loading = true;
listInfor(this.queryParams).then(response => {
this.inforList = response.rows;
this.total = response.total;
this.loading = false;
});
},
// 取消按钮
cancel() {
this.open = false;
this.reset();
},
// 表单重置
reset() {
this.form = {
fEnterpriseId: null,
fCityName: null,
fDistrictName: null,
fBizCode: null,
fCompanyName: null,
fPipelineCertCode: null,
fPipelineComp: null,
fStationCertCode: null,
fStationComp: null,
fOtherCertCode: null,
fOtherComp: null,
fResponsibleCount: null,
fManagementCount: null,
fMaintenanceCount: null,
fResponsibleCertCount: null,
fManagementCertCount: null,
fMaintenanceCertCount: null,
fStationCount: null,
fStorageStationCount: null,
fGasificationStationCount: null,
fMixingStationCount: null,
fGasStationCount: null,
fFillingStationCount: null,
fSupplyStationCount: null,
fPressureStationCount: null,
fOtherStationCount: null,
fCreateTime: null,
fUpdateTime: null
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
// 多选框选中数据
handleSelectionChange(selection) {
this.ids = selection.map(item => item.fEnterpriseId)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.open = true;
this.title = "添加年度行业指标汇总";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const fEnterpriseId = row.fEnterpriseId || this.ids
getInfor(fEnterpriseId).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改年度行业指标汇总";
});
},
/** 详情按钮操作 */
handleView(row) {
const fEnterpriseId = row.fEnterpriseId;
getInfor(fEnterpriseId).then(response => {
this.viewForm = response.data;
this.viewOpen = true;
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.fEnterpriseId != null) {
updateInfor(this.form).then(response => {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addInfor(this.form).then(response => {
this.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const fEnterpriseIds = row.fEnterpriseId || this.ids;
this.$confirm('是否确认删除年度行业指标汇总 - 燃气企业基本情况信息编号为"' + fEnterpriseIds + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(function() {
return delInfor(fEnterpriseIds);
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
}).catch(() => {});
},
report(row){
this.$confirm('是否确认上报年度行业指标汇总编号为"' + row.fEnterpriseId + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(function() {
return updateInfor({fEnterpriseId:row.fEnterpriseId,isReport:"1"});
}).then(() => {
this.getList();
this.msgSuccess("上报成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
const queryParams = this.queryParams;
this.$confirm('是否确认导出所有年度行业指标汇总 - 燃气企业基本情况信息数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(() => {
this.exportLoading = true;
return exportInfor(queryParams);
}).then(response => {
this.download(response.msg);
this.exportLoading = false;
}).catch(() => {});
}
}
};
</script>
...@@ -94,6 +94,14 @@ ...@@ -94,6 +94,14 @@
<span class="badge" v-if="importError !== 0">{{importError}}</span> <span class="badge" v-if="importError !== 0">{{importError}}</span>
</el-button> </el-button>
</el-col> </el-col>
<el-col :span="1.5">
<el-button
type="success"
icon="el-icon-download"
size="mini"
@click="getChangeRecords">获取变更记录</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
...@@ -152,8 +160,14 @@ ...@@ -152,8 +160,14 @@
<!-- <span v-else>-</span>--> <!-- <span v-else>-</span>-->
<!-- </template>--> <!-- </template>-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="handleView(scope.row)"
>详情</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
...@@ -166,6 +180,12 @@ ...@@ -166,6 +180,12 @@
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
>删除</el-button> >删除</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="getChangelogList(scope.row)"
>变更记录</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -333,11 +353,135 @@ ...@@ -333,11 +353,135 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-dialog> </el-dialog>
<!-- 从业人员详情对话框 -->
<el-dialog :title="viewTitle" :visible.sync="viewOpen" width="800px" append-to-body>
<el-form :model="viewForm" label-width="130px">
<el-row>
<el-col :span="11">
<el-form-item label="姓名">
<span>{{ viewForm.employedPeopleName || '-' }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="身份证号">
<span>{{ viewForm.idCard || '-' }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="23">
<el-form-item label="照片">
<img v-if="viewForm.avatarAddress" :src="viewForm.avatarAddress" width="200px">
<span v-else>-</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11">
<el-form-item label="发证日期">
<span>{{ viewForm.issueDate || '-' }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="受聘企业名称">
<span>{{ viewForm.beyondEnterpriseName || '-' }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11">
<el-form-item label="发证部门">
<span>{{ viewForm.registerExaminationType || '-' }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="任职岗位">
<span>{{ peopleOccupationTypeFormat(viewForm) || '-' }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11">
<el-form-item label="技能岗位证书编号">
<span>{{ viewForm.certificateNum || '-' }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="复检日期">
<span>{{ viewForm.certificateChange || '-' }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="23">
<el-form-item label="备注">
<span>{{ viewForm.remarks || '-' }}</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="viewOpen = false">关 闭</el-button>
</div>
</el-dialog>
<!-- 变更记录列表对话框 -->
<el-dialog :title="changelogTitle" :visible.sync="changelogOpen" width="900px" append-to-body>
<el-table v-loading="changelogLoading" :data="changelogList">
<el-table-column label="姓名" align="center" prop="employedPeopleName" width="120">
<template slot-scope="scope">
<span>{{ scope.row.employedPeopleName || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="身份证号" align="center" prop="idCard" width="180">
<template slot-scope="scope">
<span>{{ scope.row.idCard || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="变更前" align="center" prop="beforeChange" min-width="200">
<template slot-scope="scope">
<span>{{ scope.row.beforeChange || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="变更后" align="center" prop="afterChange" min-width="200">
<template slot-scope="scope">
<span>{{ scope.row.afterChange || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="变更时间" align="center" prop="updateTime" width="180">
<template slot-scope="scope">
<span>{{ scope.row.updateTime || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remarks" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.remarks || '-' }}</span>
</template>
</el-table-column>
</el-table>
<pagination
v-show="changelogTotal>0"
:total="changelogTotal"
:page.sync="changelogQueryParams.pageNum"
:limit.sync="changelogQueryParams.pageSize"
@pagination="getChangelogList"
/>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="changelogOpen = false">关 闭</el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
import { listInfo, getInfo, delInfo, addInfo, updateInfo, exportInfo,importErrorexportInfo, selectTEnterprise,queryPeopleOccupationByGroupBy,importTemplate,countImportError,clearImportError} from "@/api/regulation/supervise"; import { listInfo, getInfo, delInfo, addInfo, updateInfo, exportInfo,importErrorexportInfo, selectTEnterprise,queryPeopleOccupationByGroupBy,importTemplate,countImportError,clearImportError} from "@/api/regulation/supervise";
import { listChangelog } from "@/api/regulation/changelog";
import FileUpload from '@/components/FileSuperviseUpload'; import FileUpload from '@/components/FileSuperviseUpload';
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
...@@ -391,6 +535,28 @@ export default { ...@@ -391,6 +535,28 @@ export default {
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
// 详情对话框是否显示
viewOpen: false,
// 详情对话框标题
viewTitle: "从业人员详情",
// 详情表单数据
viewForm: {},
// 变更记录对话框是否显示
changelogOpen: false,
// 变更记录对话框标题
changelogTitle: "从业人员变更记录",
// 变更记录列表数据
changelogList: [],
// 变更记录查询参数
changelogQueryParams: {
pageNum: 1,
pageSize: 10,
idCard: null
},
// 变更记录总条数
changelogTotal: 0,
// 变更记录遮罩层
changelogLoading: true,
// 查询参数 // 查询参数
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
...@@ -500,6 +666,10 @@ export default { ...@@ -500,6 +666,10 @@ export default {
}) })
}, },
getChangeRecords(){
this.msgSuccess("获取成功");
},
// 下载从业人员错误 按钮 // 下载从业人员错误 按钮
handleImportError() { handleImportError() {
if(this.importError === 0) { if(this.importError === 0) {
...@@ -552,6 +722,19 @@ export default { ...@@ -552,6 +722,19 @@ export default {
checkFile(url) { checkFile(url) {
window.open(url,'_blank'); window.open(url,'_blank');
}, },
/** 查询变更记录列表 */
getChangelogList(row) {
if (row && row.employedPeopleId) {
this.changelogQueryParams.idCard = row.idCard;
}
this.changelogLoading = true;
listChangelog(this.changelogQueryParams).then(response => {
this.changelogList = response.rows;
this.changelogTotal = response.total;
this.changelogLoading = false;
this.changelogOpen = true;
});
},
/** 查询从业人员信息列表 */ /** 查询从业人员信息列表 */
getList() { getList() {
this.loading = true; this.loading = true;
...@@ -617,6 +800,14 @@ export default { ...@@ -617,6 +800,14 @@ export default {
this.open = true; this.open = true;
this.title = "添加从业人员信息"; this.title = "添加从业人员信息";
}, },
/** 详情按钮操作 */
handleView(row) {
const employedPeopleId = row.employedPeopleId
getInfo(employedPeopleId).then(response => {
this.viewForm = response.data;
this.viewOpen = true;
});
},
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
//查询企业名称下拉框数据 //查询企业名称下拉框数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment