添加功能

This commit is contained in:
yangjun 2023-04-09 16:41:05 +08:00
parent 72727b6fd1
commit 04e861f208
2 changed files with 3 additions and 1 deletions

View File

@ -248,4 +248,6 @@ public class KcKetangbiao implements Serializable {
private java.lang.String sfyy; private java.lang.String sfyy;
@TableField(exist = false) @TableField(exist = false)
private java.lang.String userid; private java.lang.String userid;
@TableField(exist = false)
private java.lang.Integer isdeleted;
} }

View File

@ -19,7 +19,7 @@
<select id="getKclblist" parameterType="org.jeecg.modules.kc.ktgl.entity.KcKetangbiao" resultType="org.jeecg.modules.kc.ktgl.entity.KcKetangbiao"> <select id="getKclblist" parameterType="org.jeecg.modules.kc.ktgl.entity.KcKetangbiao" resultType="org.jeecg.modules.kc.ktgl.entity.KcKetangbiao">
select ktb.*,if(yy.id is null,0,1) as sfyy from kc_ketangbiao ktb select ktb.*,if(yy.id is null,0,1) as sfyy,yy.isdeleted from kc_ketangbiao ktb
left join (select * from kc_yuyue where userid = #{kcKetangbiao.userid}) yy on ktb.id = yy.ketangbiaoid left join (select * from kc_yuyue where userid = #{kcKetangbiao.userid}) yy on ktb.id = yy.ketangbiaoid
<where> <where>
<if test="kcKetangbiao.ywmc!=null and kcKetangbiao.ywmc!=''"> <if test="kcKetangbiao.ywmc!=null and kcKetangbiao.ywmc!=''">