Przeglądaj źródła

新增关节式分相检测记录

wuhonghao 4 lat temu
rodzic
commit
00b70e08f7

+ 83 - 0
railway-admin/src/main/java/com/railway/web/controller/business/catenary/BusJcebGjsfxController.java

@@ -0,0 +1,83 @@
+package com.railway.web.controller.business.catenary;
+
+import com.railway.business.catenary.domain.BusJcbQmjcjl;
+import com.railway.business.catenary.domain.BusJcebGjsfx;
+import com.railway.business.catenary.service.IBusJcebGjsfxService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.ResponseEntity;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.WebDataBinder;
+import com.railway.common.core.controller.BaseController;
+import com.railway.common.core.domain.AjaxResult;
+import com.railway.common.core.page.TableDataInfo;
+import javax.validation.Valid;
+import java.util.List;
+
+import javax.validation.Valid;
+
+@Api(value = "rest/catenary/bus/jceb/gjsfx", tags = "检测表-关节式分相 ")
+@RestController
+@Validated
+@RequestMapping(value = "business/catenary/bus/jceb/gjsfx")
+public class BusJcebGjsfxController extends BaseController {
+    @Autowired
+    private IBusJcebGjsfxService busJcebGjsfxService;
+
+    @ApiOperation(value = "新增")
+    @PostMapping("/add")
+    public AjaxResult add(@Validated @RequestBody BusJcebGjsfx busJcebGjsfx) {
+        return toAjax(busJcebGjsfxService.create(busJcebGjsfx));
+    }
+
+    @ApiOperation(value = "删除")
+    @DeleteMapping("/{ids}")
+    public AjaxResult delete(@RequestParam String[] ids) {
+        return toAjax(busJcebGjsfxService.delete(ids));
+    }
+
+    @ApiOperation(value = "更新")
+    @PutMapping("/update")
+    public AjaxResult update(@RequestBody @Valid BusJcebGjsfx busJcebGjsfx) {
+        return toAjax(busJcebGjsfxService.update(busJcebGjsfx));
+    }
+
+    @ApiOperation(value = "单个")
+    @GetMapping(value = {"/", "/{id}"})
+    public AjaxResult getInfo(String id) {
+        BusJcebGjsfx info = busJcebGjsfxService.getInfo(id);
+        AjaxResult ajax = AjaxResult.success();
+        ajax.put("info",info);
+        return ajax;
+    }
+
+    @ApiOperation(value = "列表")
+    @GetMapping(value = "list")
+    public TableDataInfo getList(BusJcebGjsfx busJcebGjsfx) {
+        startPage();
+        List<BusJcebGjsfx> list = busJcebGjsfxService.getList(busJcebGjsfx);
+        return getDataTable(list);
+    }
+
+
+    @ApiOperation(value = "提交")
+    @PutMapping("/submit")
+    public AjaxResult submit(@RequestBody BusJcebGjsfx busJcebGjsfx) {
+        return toAjax(busJcebGjsfxService.submit(busJcebGjsfx));
+    }
+
+    @ApiOperation(value = "退回")
+    @PutMapping("/reject")
+    public AjaxResult reject(@RequestBody BusJcebGjsfx busJcebGjsfx) {
+        return toAjax(busJcebGjsfxService.reject(busJcebGjsfx));
+    }
+
+    @ApiOperation(value = "确认")
+    @PutMapping("/confirm")
+    public AjaxResult confirm(@RequestBody BusJcebGjsfx busJcebGjsfx) {
+        return toAjax(busJcebGjsfxService.confirm(busJcebGjsfx));
+    }
+
+}

+ 124 - 0
railway-business/src/main/java/com/railway/business/catenary/domain/BusJcebGjsfx.java

@@ -0,0 +1,124 @@
+package com.railway.business.catenary.domain;
+
+import com.railway.common.core.domain.BaseEntity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import java.util.Date;
+
+import org.hibernate.validator.constraints.Length;
+import javax.validation.constraints.NotNull;
+/**
+ * 检测表-关节式分相 
+ * @author whh 2021-10-19
+ */
+@Data
+@ApiModel("检测表-关节式分相 ")
+@EqualsAndHashCode(callSuper = true)
+public class BusJcebGjsfx extends BaseEntity{
+
+    @ApiModelProperty(value = "主键", hidden = true)
+    private String id;
+
+    @ApiModelProperty(value = "区间id")
+    private Long qjId;
+
+    @ApiModelProperty(value = "站场(区间)")
+    @Length(min = 1, max = 100, message = "【站场(区间)】长度必须介于 {min} 和 {max} 之间")
+    private String qj;
+
+    @ApiModelProperty(value = "支柱号起点")
+    @Length(min = 1, max = 50, message = "【支柱号起点】长度必须介于 {min} 和 {max} 之间")
+    private String zzhStart;
+
+    @ApiModelProperty(value = "支柱号结束")
+    @Length(min = 1, max = 50, message = "【支柱号结束】长度必须介于 {min} 和 {max} 之间")
+    private String zzhEnd;
+
+    @ApiModelProperty(value = "检查日期")
+    private Date jcrq;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱1")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱1】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcspjlZhz1;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱2")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱2】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcspjlZhz2;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间水平距离(mm)-中心柱")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间水平距离(mm)-中心柱】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcspjlZxz2;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱3")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱3】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcspjlZhz3;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱4")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间水平距离(mm)-转换柱4】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcspjlZhz4;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱1")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱1】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcczjlZhz1;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱2")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱2】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcczjlZhz2;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间垂直距离(mm)-中心柱")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间垂直距离(mm)-中心柱】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcczjlZxz2;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱3")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱3】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcczjlZhz3;
+
+    @ApiModelProperty(value = "承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱4")
+    @Length(min = 1, max = 50, message = "【承力索/接触线两锚段接触悬挂间垂直距离(mm)-转换柱4】长度必须介于 {min} 和 {max} 之间")
+    private String lmdjcczjlZhz4;
+
+    @ApiModelProperty(value = "开关引线及电连接状态")
+    @Length(min = 1, max = 50, message = "【开关引线及电连接状态】长度必须介于 {min} 和 {max} 之间")
+    private String kgyxdcljzt;
+
+    @ApiModelProperty(value = "绝缘间隙是否符合标准")
+    @Length(min = 1, max = 1, message = "【绝缘间隙是否符合标准】长度必须介于 {min} 和 {max} 之间")
+    private String jyjsffhbz;
+
+    @ApiModelProperty(value = "下锚支接触线垂直投影与钢轨交叉处抬高(mm)")
+    @Length(min = 1, max = 255, message = "【下锚支接触线垂直投影与钢轨交叉处抬高(mm)】长度必须介于 {min} 和 {max} 之间")
+    private String xmzjcxcztyyggjcctg;
+
+    @ApiModelProperty(value = "检测人")
+    @Length(min = 1, max = 255, message = "【检测人】长度必须介于 {min} 和 {max} 之间")
+    private String jcr;
+
+    @ApiModelProperty(value = "备注")
+    @Length(min = 1, max = 600, message = "【备注】长度必须介于 {min} 和 {max} 之间")
+    private String remark;
+
+    @ApiModelProperty(value = "提交状态 0未提交 1已提交 2已退回 9已确认")
+    @Length(min = 1, max = 1, message = "【提交状态 0未提交 1已提交 2已退回 9已确认】长度必须介于 {min} 和 {max} 之间")
+    private String submitState;
+
+    @ApiModelProperty(value = "del_flag")
+    @Length(min = 1, max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间")
+    private String delFlag;
+
+    @ApiModelProperty(value = "create_by")
+    @Length(min = 1, max = 64, message = "【create_by】长度必须介于 {min} 和 {max} 之间")
+    private String createBy;
+
+    @ApiModelProperty(value = "update_by")
+    @Length(min = 1, max = 64, message = "【update_by】长度必须介于 {min} 和 {max} 之间")
+    private String updateBy;
+
+    @ApiModelProperty(value = "update_time")
+    private Date updateTime;
+
+    public BusJcebGjsfx() {
+    }
+
+}

+ 43 - 0
railway-business/src/main/java/com/railway/business/catenary/mapper/BusJcebGjsfxMapper.java

@@ -0,0 +1,43 @@
+package com.railway.business.catenary.mapper;
+
+import com.github.pagehelper.Page;
+import com.railway.business.catenary.domain.BusJcebGjsfx;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+/**
+* 检测表-关节式分相 
+* @author whh
+* @date 2021/10/19
+*/
+@Mapper
+@Repository
+public interface BusJcebGjsfxMapper {
+
+    /**
+    * @Description: 新增
+    */
+    int insert(BusJcebGjsfx busJcebGjsfx);
+
+    /**
+    * @Description: 删除
+    */
+    int delete(@Param("id") String id);
+
+    /**
+    * @Description: 更新
+    */
+    int update(BusJcebGjsfx busJcebGjsfx);
+
+    /**
+    * @Description: 获取单个
+    */
+    BusJcebGjsfx getInfo(@Param("id") String id);
+
+    /**
+    * @Description: 查询列表
+    */
+    Page<BusJcebGjsfx> getList(BusJcebGjsfx busJcebGjsfx);
+
+}

+ 60 - 0
railway-business/src/main/java/com/railway/business/catenary/service/IBusJcebGjsfxService.java

@@ -0,0 +1,60 @@
+package com.railway.business.catenary.service;
+
+import com.railway.business.catenary.domain.BusJcbQmjcjl;
+import com.railway.business.catenary.domain.BusJcebGjsfx;
+import java.util.List;
+/**
+* 检测表-关节式分相 
+* @author whh
+* @date 2021/10/19
+*/
+public interface IBusJcebGjsfxService{
+
+    /**
+    * @Description: 新增
+    */
+    int create(BusJcebGjsfx busJcebGjsfx);
+
+    /**
+    * @Description: 删除
+    */
+    int delete(String[] ids);
+
+    /**
+    * @Description: 更新
+    */
+    int update(BusJcebGjsfx busJcebGjsfx);
+
+    /**
+    * @Description: 获取单个
+    */
+    BusJcebGjsfx getInfo(String id);
+
+    /**
+    * @Description: 查询列表
+    */
+    List<BusJcebGjsfx> getList(BusJcebGjsfx busJcebGjsfx);
+
+
+    /**
+     * 提交
+     * @param busJcebGjsfx
+     * @return
+     */
+    int submit(BusJcebGjsfx busJcebGjsfx);
+
+    /**
+     * 退回
+     * @param busJcebGjsfx
+     * @return
+     */
+    int reject(BusJcebGjsfx busJcebGjsfx);
+
+    /**
+     * 确认
+     * @param busJcebGjsfx
+     * @return
+     */
+    int confirm(BusJcebGjsfx busJcebGjsfx);
+
+}

+ 116 - 0
railway-business/src/main/java/com/railway/business/catenary/service/impl/BusJcebGjsfxServiceImpl.java

@@ -0,0 +1,116 @@
+package com.railway.business.catenary.service.impl;
+
+import com.github.pagehelper.Page;
+import com.github.pagehelper.PageHelper;
+import com.railway.business.catenary.domain.BusJcbQmjcjl;
+import com.railway.business.catenary.enums.TestTableStatusEnum;
+import com.railway.business.catenary.mapper.BusJcebGjsfxMapper;
+import com.railway.business.catenary.domain.BusJcebGjsfx;
+import com.railway.business.catenary.service.IBusJcebGjsfxService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.railway.common.utils.SecurityUtils;
+import org.springframework.transaction.annotation.Transactional;
+import java.util.List;
+import java.util.Date;
+/**
+* 检测表-关节式分相 
+* @author whh
+* @date 2021/10/19
+*/
+@Service
+@Transactional(readOnly = true)
+public class BusJcebGjsfxServiceImpl implements IBusJcebGjsfxService{
+@Autowired
+private BusJcebGjsfxMapper busJcebGjsfxMapper;
+
+	/**
+	* @Description: 新增
+	*/
+	@Transactional(rollbackFor = Exception.class)
+	public int create(BusJcebGjsfx busJcebGjsfx) {
+	    busJcebGjsfx.setCreateTime(new Date());
+        busJcebGjsfx.setCreateBy(SecurityUtils.getUsername());
+		return busJcebGjsfxMapper.insert(busJcebGjsfx);
+	}
+
+	/**
+	* @Description: 删除
+	*/
+	@Transactional(rollbackFor = Exception.class)
+	public int delete(String[] ids) {
+		int r =0;
+		for (String id : ids) {
+			int j= busJcebGjsfxMapper.delete(id);
+			r = r + j;
+		}
+		return	r;
+	}
+
+	/**
+	* @Description: 更新
+	*/
+	@Transactional(rollbackFor = Exception.class)
+	public int update(BusJcebGjsfx busJcebGjsfx) {
+		busJcebGjsfx.setUpdateTime(new Date());
+    	busJcebGjsfx.setUpdateBy(SecurityUtils.getUsername());
+		return busJcebGjsfxMapper.update(busJcebGjsfx);
+	}
+
+	/**
+	* @Description: 获取单个
+	*/
+	public BusJcebGjsfx getInfo(String id) {
+		return busJcebGjsfxMapper.getInfo(id);
+	}
+
+	/**
+	* @Description: 查询列表
+	*/
+	public List<BusJcebGjsfx> getList(BusJcebGjsfx busJcebGjsfx) {
+		return busJcebGjsfxMapper.getList(busJcebGjsfx);
+	}
+
+	/**
+	 * 提交
+	 * @param busJcebGjsfx
+	 * @return
+	 */
+	@Override
+	@Transactional(rollbackFor = Exception.class)
+	public int submit(BusJcebGjsfx busJcebGjsfx) {
+		busJcebGjsfx.setUpdateTime(new Date());
+		busJcebGjsfx.setUpdateBy(SecurityUtils.getUsername());
+		busJcebGjsfx.setSubmitState(TestTableStatusEnum.REPORTED.getCode());
+		return busJcebGjsfxMapper.update(busJcebGjsfx);
+	}
+
+	/**
+	 * 退回
+	 * @param busJcebGjsfx
+	 * @return
+	 */
+	@Override
+	@Transactional(rollbackFor = Exception.class)
+	public int reject(BusJcebGjsfx busJcebGjsfx) {
+		busJcebGjsfx.setUpdateTime(new Date());
+		busJcebGjsfx.setUpdateBy(SecurityUtils.getUsername());
+		busJcebGjsfx.setSubmitState(TestTableStatusEnum.RETURNED.getCode());
+		return busJcebGjsfxMapper.update(busJcebGjsfx);
+	}
+
+	/**
+	 * 确认
+	 * @param busJcebGjsfx
+	 * @return
+	 */
+	@Override
+	@Transactional(rollbackFor = Exception.class)
+	public int confirm(BusJcebGjsfx busJcebGjsfx) {
+		busJcebGjsfx.setUpdateTime(new Date());
+		busJcebGjsfx.setUpdateBy(SecurityUtils.getUsername());
+		busJcebGjsfx.setSubmitState(TestTableStatusEnum.COMPLETED.getCode());
+		return busJcebGjsfxMapper.update(busJcebGjsfx);
+	}
+
+}

+ 368 - 0
railway-business/src/main/resources/mapper/business/BusJcebGjsfxMapper.xml

@@ -0,0 +1,368 @@
+<?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.railway.business.catenary.mapper.BusJcebGjsfxMapper">
+
+    <resultMap id="BaseResultMap" type="com.railway.business.catenary.domain.BusJcebGjsfx">
+                <result column="id" property="id"/>
+                <result column="qj_id" property="qjId"/>
+                <result column="qj" property="qj"/>
+                <result column="zzh_start" property="zzhStart"/>
+                <result column="zzh_end" property="zzhEnd"/>
+                <result column="jcrq" property="jcrq"/>
+                <result column="lmdjcspjl_zhz1" property="lmdjcspjlZhz1"/>
+                <result column="lmdjcspjl_zhz2" property="lmdjcspjlZhz2"/>
+                <result column="lmdjcspjl_zxz2" property="lmdjcspjlZxz2"/>
+                <result column="lmdjcspjl_zhz3" property="lmdjcspjlZhz3"/>
+                <result column="lmdjcspjl_zhz4" property="lmdjcspjlZhz4"/>
+                <result column="lmdjcczjl_zhz1" property="lmdjcczjlZhz1"/>
+                <result column="lmdjcczjl_zhz2" property="lmdjcczjlZhz2"/>
+                <result column="lmdjcczjl_zxz2" property="lmdjcczjlZxz2"/>
+                <result column="lmdjcczjl_zhz3" property="lmdjcczjlZhz3"/>
+                <result column="lmdjcczjl_zhz4" property="lmdjcczjlZhz4"/>
+                <result column="kgyxdcljzt" property="kgyxdcljzt"/>
+                <result column="jyjsffhbz" property="jyjsffhbz"/>
+                <result column="xmzjcxcztyyggjcctg" property="xmzjcxcztyyggjcctg"/>
+                <result column="jcr" property="jcr"/>
+                <result column="remark" property="remark"/>
+                <result column="submit_state" property="submitState"/>
+                <result column="del_flag" property="delFlag"/>
+                <result column="create_by" property="createBy"/>
+                <result column="create_time" property="createTime"/>
+                <result column="update_by" property="updateBy"/>
+                <result column="update_time" property="updateTime"/>
+    </resultMap>
+
+    <sql id="Base_Column_List">
+                id,
+                qj_id,
+                qj,
+                zzh_start,
+                zzh_end,
+                jcrq,
+                lmdjcspjl_zhz1,
+                lmdjcspjl_zhz2,
+                lmdjcspjl_zxz2,
+                lmdjcspjl_zhz3,
+                lmdjcspjl_zhz4,
+                lmdjcczjl_zhz1,
+                lmdjcczjl_zhz2,
+                lmdjcczjl_zxz2,
+                lmdjcczjl_zhz3,
+                lmdjcczjl_zhz4,
+                kgyxdcljzt,
+                jyjsffhbz,
+                xmzjcxcztyyggjcctg,
+                jcr,
+                remark,
+                submit_state,
+                del_flag,
+                create_by,
+                create_time,
+                update_by,
+                update_time
+    </sql>
+
+    <insert id="insert" parameterType="com.railway.business.catenary.domain.BusJcebGjsfx">
+        <selectKey keyProperty="id" order="BEFORE" resultType="String">
+            select replace(uuid(), '-', '') from dual
+        </selectKey>
+        INSERT INTO bus_jceb_gjsfx
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+                    <if test ='null != qjId'>
+                    qj_id,
+                    </if>
+                    <if test ='null != qj'>
+                    qj,
+                    </if>
+                    <if test ='null != zzhStart'>
+                    zzh_start,
+                    </if>
+                    <if test ='null != zzhEnd'>
+                    zzh_end,
+                    </if>
+                    <if test ='null != jcrq'>
+                    jcrq,
+                    </if>
+                    <if test ='null != lmdjcspjlZhz1'>
+                    lmdjcspjl_zhz1,
+                    </if>
+                    <if test ='null != lmdjcspjlZhz2'>
+                    lmdjcspjl_zhz2,
+                    </if>
+                    <if test ='null != lmdjcspjlZxz2'>
+                    lmdjcspjl_zxz2,
+                    </if>
+                    <if test ='null != lmdjcspjlZhz3'>
+                    lmdjcspjl_zhz3,
+                    </if>
+                    <if test ='null != lmdjcspjlZhz4'>
+                    lmdjcspjl_zhz4,
+                    </if>
+                    <if test ='null != lmdjcczjlZhz1'>
+                    lmdjcczjl_zhz1,
+                    </if>
+                    <if test ='null != lmdjcczjlZhz2'>
+                    lmdjcczjl_zhz2,
+                    </if>
+                    <if test ='null != lmdjcczjlZxz2'>
+                    lmdjcczjl_zxz2,
+                    </if>
+                    <if test ='null != lmdjcczjlZhz3'>
+                    lmdjcczjl_zhz3,
+                    </if>
+                    <if test ='null != lmdjcczjlZhz4'>
+                    lmdjcczjl_zhz4,
+                    </if>
+                    <if test ='null != kgyxdcljzt'>
+                    kgyxdcljzt,
+                    </if>
+                    <if test ='null != jyjsffhbz'>
+                    jyjsffhbz,
+                    </if>
+                    <if test ='null != xmzjcxcztyyggjcctg'>
+                    xmzjcxcztyyggjcctg,
+                    </if>
+                    <if test ='null != jcr'>
+                    jcr,
+                    </if>
+                    <if test ='null != remark'>
+                    remark,
+                    </if>
+                    <if test ='null != submitState'>
+                    submit_state,
+                    </if>
+                    <if test ='null != delFlag'>
+                    del_flag,
+                    </if>
+                    <if test ='null != createBy'>
+                    create_by,
+                    </if>
+                    <if test ='null != createTime'>
+                    create_time,
+                    </if>
+                    <if test ='null != updateBy'>
+                    update_by,
+                    </if>
+                    <if test ='null != updateTime'>
+                    update_time
+                    </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+                    <if test ='null != qjId'>
+                    #{qjId},
+                    </if>
+                    <if test ='null != qj'>
+                    #{qj},
+                    </if>
+                    <if test ='null != zzhStart'>
+                    #{zzhStart},
+                    </if>
+                    <if test ='null != zzhEnd'>
+                    #{zzhEnd},
+                    </if>
+                    <if test ='null != jcrq'>
+                    #{jcrq},
+                    </if>
+                    <if test ='null != lmdjcspjlZhz1'>
+                    #{lmdjcspjlZhz1},
+                    </if>
+                    <if test ='null != lmdjcspjlZhz2'>
+                    #{lmdjcspjlZhz2},
+                    </if>
+                    <if test ='null != lmdjcspjlZxz2'>
+                    #{lmdjcspjlZxz2},
+                    </if>
+                    <if test ='null != lmdjcspjlZhz3'>
+                    #{lmdjcspjlZhz3},
+                    </if>
+                    <if test ='null != lmdjcspjlZhz4'>
+                    #{lmdjcspjlZhz4},
+                    </if>
+                    <if test ='null != lmdjcczjlZhz1'>
+                    #{lmdjcczjlZhz1},
+                    </if>
+                    <if test ='null != lmdjcczjlZhz2'>
+                    #{lmdjcczjlZhz2},
+                    </if>
+                    <if test ='null != lmdjcczjlZxz2'>
+                    #{lmdjcczjlZxz2},
+                    </if>
+                    <if test ='null != lmdjcczjlZhz3'>
+                    #{lmdjcczjlZhz3},
+                    </if>
+                    <if test ='null != lmdjcczjlZhz4'>
+                    #{lmdjcczjlZhz4},
+                    </if>
+                    <if test ='null != kgyxdcljzt'>
+                    #{kgyxdcljzt},
+                    </if>
+                    <if test ='null != jyjsffhbz'>
+                    #{jyjsffhbz},
+                    </if>
+                    <if test ='null != xmzjcxcztyyggjcctg'>
+                    #{xmzjcxcztyyggjcctg},
+                    </if>
+                    <if test ='null != jcr'>
+                    #{jcr},
+                    </if>
+                    <if test ='null != remark'>
+                    #{remark},
+                    </if>
+                    <if test ='null != submitState'>
+                    #{submitState},
+                    </if>
+                    <if test ='null != delFlag'>
+                    #{delFlag},
+                    </if>
+                    <if test ='null != createBy'>
+                    #{createBy},
+                    </if>
+                    <if test ='null != createTime'>
+                    #{createTime},
+                    </if>
+                    <if test ='null != updateBy'>
+                    #{updateBy},
+                    </if>
+                    <if test ='null != updateTime'>
+                    #{updateTime}
+                    </if>
+        </trim>
+    </insert>
+
+    <delete id="delete">
+        UPDATE bus_jceb_gjsfx
+        set del_flag='1'
+        WHERE id = #{id}
+    </delete>
+
+    <update id="update" parameterType="com.railway.business.catenary.domain.BusJcebGjsfx">
+        UPDATE bus_jceb_gjsfx
+        <set>
+                    <if test ='null != qjId'>qj_id = #{qjId},</if>
+                    <if test ='null != qj'>qj = #{qj},</if>
+                    <if test ='null != zzhStart'>zzh_start = #{zzhStart},</if>
+                    <if test ='null != zzhEnd'>zzh_end = #{zzhEnd},</if>
+                    <if test ='null != jcrq'>jcrq = #{jcrq},</if>
+                    <if test ='null != lmdjcspjlZhz1'>lmdjcspjl_zhz1 = #{lmdjcspjlZhz1},</if>
+                    <if test ='null != lmdjcspjlZhz2'>lmdjcspjl_zhz2 = #{lmdjcspjlZhz2},</if>
+                    <if test ='null != lmdjcspjlZxz2'>lmdjcspjl_zxz2 = #{lmdjcspjlZxz2},</if>
+                    <if test ='null != lmdjcspjlZhz3'>lmdjcspjl_zhz3 = #{lmdjcspjlZhz3},</if>
+                    <if test ='null != lmdjcspjlZhz4'>lmdjcspjl_zhz4 = #{lmdjcspjlZhz4},</if>
+                    <if test ='null != lmdjcczjlZhz1'>lmdjcczjl_zhz1 = #{lmdjcczjlZhz1},</if>
+                    <if test ='null != lmdjcczjlZhz2'>lmdjcczjl_zhz2 = #{lmdjcczjlZhz2},</if>
+                    <if test ='null != lmdjcczjlZxz2'>lmdjcczjl_zxz2 = #{lmdjcczjlZxz2},</if>
+                    <if test ='null != lmdjcczjlZhz3'>lmdjcczjl_zhz3 = #{lmdjcczjlZhz3},</if>
+                    <if test ='null != lmdjcczjlZhz4'>lmdjcczjl_zhz4 = #{lmdjcczjlZhz4},</if>
+                    <if test ='null != kgyxdcljzt'>kgyxdcljzt = #{kgyxdcljzt},</if>
+                    <if test ='null != jyjsffhbz'>jyjsffhbz = #{jyjsffhbz},</if>
+                    <if test ='null != xmzjcxcztyyggjcctg'>xmzjcxcztyyggjcctg = #{xmzjcxcztyyggjcctg},</if>
+                    <if test ='null != jcr'>jcr = #{jcr},</if>
+                    <if test ='null != remark'>remark = #{remark},</if>
+                    <if test ='null != submitState'>submit_state = #{submitState},</if>
+                    <if test ='null != delFlag'>del_flag = #{delFlag},</if>
+                    <if test ='null != createBy'>create_by = #{createBy},</if>
+                    <if test ='null != createTime'>create_time = #{createTime},</if>
+                    <if test ='null != updateBy'>update_by = #{updateBy},</if>
+                    <if test ='null != updateTime'>update_time = #{updateTime}</if>
+        </set>
+        WHERE id = #{id}
+    </update>
+
+
+    <select id="getInfo" resultMap="BaseResultMap">
+        SELECT
+        <include refid="Base_Column_List"/>
+        FROM bus_jceb_gjsfx
+        WHERE del_flag='0' and id = #{id}
+
+    </select>
+
+    <select id="getList" resultMap="BaseResultMap">
+        SELECT
+        <include refid="Base_Column_List"/>
+        FROM bus_jceb_gjsfx
+        <where>
+            del_flag='0'
+                <if test="qjId!=null and qjId!=''">
+                    and qj_id=#{qjId}
+                </if>
+                <if test="qj!=null and qj!=''">
+                    and qj=#{qj}
+                </if>
+                <if test="zzhStart!=null and zzhStart!=''">
+                    and zzh_start=#{zzhStart}
+                </if>
+                <if test="zzhEnd!=null and zzhEnd!=''">
+                    and zzh_end=#{zzhEnd}
+                </if>
+                <if test="jcrq!=null and jcrq!=''">
+                    and jcrq=#{jcrq}
+                </if>
+                <if test="lmdjcspjlZhz1!=null and lmdjcspjlZhz1!=''">
+                    and lmdjcspjl_zhz1=#{lmdjcspjlZhz1}
+                </if>
+                <if test="lmdjcspjlZhz2!=null and lmdjcspjlZhz2!=''">
+                    and lmdjcspjl_zhz2=#{lmdjcspjlZhz2}
+                </if>
+                <if test="lmdjcspjlZxz2!=null and lmdjcspjlZxz2!=''">
+                    and lmdjcspjl_zxz2=#{lmdjcspjlZxz2}
+                </if>
+                <if test="lmdjcspjlZhz3!=null and lmdjcspjlZhz3!=''">
+                    and lmdjcspjl_zhz3=#{lmdjcspjlZhz3}
+                </if>
+                <if test="lmdjcspjlZhz4!=null and lmdjcspjlZhz4!=''">
+                    and lmdjcspjl_zhz4=#{lmdjcspjlZhz4}
+                </if>
+                <if test="lmdjcczjlZhz1!=null and lmdjcczjlZhz1!=''">
+                    and lmdjcczjl_zhz1=#{lmdjcczjlZhz1}
+                </if>
+                <if test="lmdjcczjlZhz2!=null and lmdjcczjlZhz2!=''">
+                    and lmdjcczjl_zhz2=#{lmdjcczjlZhz2}
+                </if>
+                <if test="lmdjcczjlZxz2!=null and lmdjcczjlZxz2!=''">
+                    and lmdjcczjl_zxz2=#{lmdjcczjlZxz2}
+                </if>
+                <if test="lmdjcczjlZhz3!=null and lmdjcczjlZhz3!=''">
+                    and lmdjcczjl_zhz3=#{lmdjcczjlZhz3}
+                </if>
+                <if test="lmdjcczjlZhz4!=null and lmdjcczjlZhz4!=''">
+                    and lmdjcczjl_zhz4=#{lmdjcczjlZhz4}
+                </if>
+                <if test="kgyxdcljzt!=null and kgyxdcljzt!=''">
+                    and kgyxdcljzt=#{kgyxdcljzt}
+                </if>
+                <if test="jyjsffhbz!=null and jyjsffhbz!=''">
+                    and jyjsffhbz=#{jyjsffhbz}
+                </if>
+                <if test="xmzjcxcztyyggjcctg!=null and xmzjcxcztyyggjcctg!=''">
+                    and xmzjcxcztyyggjcctg=#{xmzjcxcztyyggjcctg}
+                </if>
+                <if test="jcr!=null and jcr!=''">
+                    and jcr=#{jcr}
+                </if>
+                <if test="remark!=null and remark!=''">
+                    and remark=#{remark}
+                </if>
+                <if test="submitState!=null and submitState!=''">
+                    and submit_state=#{submitState}
+                </if>
+                <if test="delFlag!=null and delFlag!=''">
+                    and del_flag=#{delFlag}
+                </if>
+                <if test="createBy!=null and createBy!=''">
+                    and create_by=#{createBy}
+                </if>
+                <if test="createTime!=null and createTime!=''">
+                    and create_time=#{createTime}
+                </if>
+                <if test="updateBy!=null and updateBy!=''">
+                    and update_by=#{updateBy}
+                </if>
+                <if test="updateTime!=null and updateTime!=''">
+                    and update_time=#{updateTime}
+                </if>
+        </where>
+    </select>
+
+</mapper>