From 4d2a6bd70db3fdf4646b23244563252e41a514db Mon Sep 17 00:00:00 2001 From: liuxm <liuxm@fescotech.com> Date: 星期四, 16 五月 2024 09:42:58 +0800 Subject: [PATCH] 产品,生产线,添加查询所有方法 --- pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml index acf91ce..0714a04 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml @@ -10,7 +10,7 @@ <result column="image" jdbcType="BIGINT" property="image" /> <result column="director" jdbcType="VARCHAR" property="director" /> <result column="d_mobile" jdbcType="VARCHAR" property="dMobile" /> - <result column="deleted" property="deleted" typeHandler="com.dy.common.mybatis.BooleanTypeHandler" /> + <result property="deleted" column="deleted" typeHandler="com.dy.common.mybatis.BooleanTypeHandler"/> <result column="dt" jdbcType="TIMESTAMP" property="dt" /> <result column="remark" jdbcType="VARCHAR" property="remark" /> <collection property="params" ofType="com.dy.pmsGlobal.pojoPlt.PltProductParams" fetchType="eager" select="selectParams" column="id" /> @@ -188,4 +188,12 @@ </if> </trim> </select> + <select id="selectAll" resultType="com.dy.pmsGlobal.pojoPlt.PltProduct"> + select + <include refid="Base_Column_List" /> + from plt_product p + where p.deleted!=1 + order by id desc + </select> + </mapper> \ No newline at end of file -- Gitblit v1.8.0