Commit f350e075 by jiang'yun

修改

parent b21cf117
package com.zjsgfa.project.zjsgfa.domain;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zjsgfa.framework.aspectj.lang.annotation.Excel;
......@@ -11,6 +12,7 @@ import com.zjsgfa.framework.web.domain.BaseEntity;
* @author
* @date 2025-08-18
*/
@Data
public class SjZjcsxx extends BaseEntity
{
private static final long serialVersionUID = 1L;
......@@ -58,17 +60,24 @@ public class SjZjcsxx extends BaseEntity
@Excel(name = "钻进钻压")
private String zjzy;
private String zjzysx;
/** 钻进转速 */
@Excel(name = "钻进转速")
private String zjzs;
private String zjzssx;
/** 批量 */
@Excel(name = "批量")
private String zjpl;
private String zjplsx;
/** 泵压 */
@Excel(name = "泵压")
private String zjby;
private String zjbysx;
/** 缸套直径 */
@Excel(name = "缸套直径")
......
......@@ -20,10 +20,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="zjpl" column="zjpl" />
<result property="zjby" column="zjby" />
<result property="gtzj" column="gtzj" />
<result property="zjzysx" column="zjzysx" />
<result property="zjzssx" column="zjzssx" />
<result property="zjplsx" column="zjplsx" />
<result property="zjbysx" column="zjbysx" />
</resultMap>
<sql id="selectSjZjcsxxVo">
select id, jh, kc, jd, ztxh, cj, cc, sy, yj, zjymd, zjzy, zjzs, zjpl, zjby, gtzj from sj_zjcsxx
select id, jh, kc, jd, ztxh, cj, cc, sy, yj, zjymd, zjzy, zjzs, zjpl, zjby, gtzj,zjzysx, zjzssx, zjplsx, zjbysx from sj_zjcsxx
</sql>
<select id="selectSjZjcsxxList" parameterType="SjZjcsxx" resultMap="SjZjcsxxResult">
......@@ -43,6 +47,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="zjpl != null and zjpl != ''"> and zjpl = #{zjpl}</if>
<if test="zjby != null and zjby != ''"> and zjby = #{zjby}</if>
<if test="gtzj != null and gtzj != ''"> and gtzj = #{gtzj}</if>
<if test="zjzysx != null and zjzysx != ''"> and zjzysx = #{zjzysx}</if>
<if test="zjzssx != null and zjzssx != ''"> and zjzssx = #{zjzssx}</if>
<if test="zjplsx != null and zjplsx != ''"> and zjplsx = #{zjplsx}</if>
<if test="zjbysx != null and zjbysx != ''"> and zjbysx = #{zjbysx}</if>
</where>
</select>
......@@ -68,6 +76,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="zjpl != null">zjpl,</if>
<if test="zjby != null">zjby,</if>
<if test="gtzj != null">gtzj,</if>
<if test="zjzysx != null">zjzysx,</if>
<if test="zjzssx != null">zjzssx,</if>
<if test="zjplsx != null">zjplsx,</if>
<if test="zjbysx != null">zjbysx,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
......@@ -84,6 +96,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="zjpl != null">#{zjpl},</if>
<if test="zjby != null">#{zjby},</if>
<if test="gtzj != null">#{gtzj},</if>
<if test="zjzysx != null">#{zjzysx},</if>
<if test="zjzssx != null">#{zjzssx},</if>
<if test="zjplsx != null">#{zjplsx},</if>
<if test="zjbysx != null">#{zjbysx},</if>
</trim>
</insert>
......@@ -104,6 +120,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="zjpl != null">zjpl = #{zjpl},</if>
<if test="zjby != null">zjby = #{zjby},</if>
<if test="gtzj != null">gtzj = #{gtzj},</if>
<if test="zjzysx != null">zjzysx = #{zjzysx},</if>
<if test="zjzssx != null">zjzssx = #{zjzssx},</if>
<if test="zjplsx != null">zjplsx = #{zjplsx},</if>
<if test="zjbysx != null">zjbysx = #{zjbysx}</if>
</trim>
where id = #{id}
</update>
......
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