档案目录添加统计字段

master
hansha 1 year ago
parent 95f384528f
commit c27a2281f3

@ -41,6 +41,10 @@ public class DaCatalog extends BaseEntity
@Excel(name = "业务类型",dictType = "yw_type") @Excel(name = "业务类型",dictType = "yw_type")
private String ywType; private String ywType;
/** 该目录及子目录下档案统计 */
@Excel(name = "该目录及子目录下档案统计")
private Long countNum;
/** 业务类型(字典) */ /** 业务类型(字典) */
// @Excel(name = "图片模板") // @Excel(name = "图片模板")
private String picPath; private String picPath;

@ -11,6 +11,7 @@
<result property="ancestors" column="ancestors"/> <result property="ancestors" column="ancestors"/>
<result property="orderNum" column="order_num"/> <result property="orderNum" column="order_num"/>
<result property="ywType" column="yw_type"/> <result property="ywType" column="yw_type"/>
<result property="countNum" column="count_num" />
<result property="picPath" column="pic_path"/> <result property="picPath" column="pic_path"/>
<result property="status" column="status"/> <result property="status" column="status"/>
<result property="remark" column="remark"/> <result property="remark" column="remark"/>
@ -21,7 +22,7 @@
</resultMap> </resultMap>
<sql id="selectDaCatalogVo"> <sql id="selectDaCatalogVo">
select id, mu_name, pid, ancestors, order_num, yw_type, pic_path, status, remark, create_by, create_time, update_by, update_time from da_catalog select id, mu_name, pid, ancestors, order_num, yw_type,count_num, pic_path, status, remark, create_by, create_time, update_by, update_time from da_catalog
</sql> </sql>
<select id="selectDaCatalogList" parameterType="DaCatalog" resultMap="DaCatalogResult"> <select id="selectDaCatalogList" parameterType="DaCatalog" resultMap="DaCatalogResult">
@ -154,6 +155,7 @@
<if test="ancestors != null">ancestors,</if> <if test="ancestors != null">ancestors,</if>
<if test="orderNum != null">order_num,</if> <if test="orderNum != null">order_num,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="countNum != null">count_num,</if>
<if test="picPath != null">pic_path,</if> <if test="picPath != null">pic_path,</if>
<if test="status != null">status,</if> <if test="status != null">status,</if>
<if test="remark != null">remark,</if> <if test="remark != null">remark,</if>
@ -168,6 +170,7 @@
<if test="ancestors != null">#{ancestors},</if> <if test="ancestors != null">#{ancestors},</if>
<if test="orderNum != null">#{orderNum},</if> <if test="orderNum != null">#{orderNum},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="countNum != null">#{countNum},</if>
<if test="picPath != null">#{picPath},</if> <if test="picPath != null">#{picPath},</if>
<if test="status != null">#{status},</if> <if test="status != null">#{status},</if>
<if test="remark != null">#{remark},</if> <if test="remark != null">#{remark},</if>
@ -186,6 +189,7 @@
<if test="ancestors != null">ancestors = #{ancestors},</if> <if test="ancestors != null">ancestors = #{ancestors},</if>
<if test="orderNum != null">order_num = #{orderNum},</if> <if test="orderNum != null">order_num = #{orderNum},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="countNum != null">count_num = #{countNum},</if>
<if test="picPath != null">pic_path = #{picPath},</if> <if test="picPath != null">pic_path = #{picPath},</if>
<if test="status != null">status = #{status},</if> <if test="status != null">status = #{status},</if>
<if test="remark != null">remark = #{remark},</if> <if test="remark != null">remark = #{remark},</if>

Loading…
Cancel
Save