工程已结算未结算字段添加

This commit is contained in:
hongchao 2025-11-27 17:40:47 +08:00
parent 915aad6e51
commit c558165778
2 changed files with 16 additions and 4 deletions

View File

@ -186,4 +186,12 @@ public class BmProject extends BaseEntity
* i8工程id集合
*/
private List<String> projectIdList;
/**
* 是否结算工程
*/
@Excel(name = "是否结算",readConverterExp = "0=未结算,1=已结算")
@ApiModelProperty(value = "是否结算工程")
private Integer isSlt;
}

View File

@ -56,7 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bp.pro_nature,
bp.pro_status,
bp.contract_part,
bp.pro_center
bp.pro_center,
bp.is_slt as isSlt
from bm_project bp
</sql>
@ -133,7 +134,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="proNature != null">pro_nature,</if>
<if test="proStatus != null">pro_status,</if>
<if test="contractPart != null">contract_part,</if>
<if test="proCenter != null">pro_center</if>
<if test="proCenter != null">pro_center,</if>
<if test="isSlt != null">is_slt</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="proId != null">#{proId},</if>
@ -160,7 +162,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="proNature != null">#{proNature},</if>
<if test="proStatus != null">#{proStatus},</if>
<if test="contractPart != null">#{contractPart},</if>
<if test="proCenter != null">#{proCenter}</if>
<if test="proCenter != null">#{proCenter},</if>
<if test="isSlt != null">#{isSlt}</if>
</trim>
</insert>
@ -187,7 +190,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="proNature != null">pro_nature = #{proNature},</if>
<if test="proStatus != null">pro_status = #{proStatus},</if>
<if test="contractPart != null">contract_part = #{contractPart},</if>
<if test="proCenter != null">pro_center = #{proCenter}</if>
<if test="proCenter != null">pro_center = #{proCenter},</if>
<if test="isSlt != null">is_slt = #{isSlt}</if>
</trim>
where pro_id = #{proId}
</update>