From 639bc12e3fcca3b3290349fce00336a4dfae1c9d Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期一, 13 十一月 2023 11:30:38 +0800 Subject: [PATCH] Changes --- modules/mainPart/src/main/resources/mapper/project/SoftwareTestOrderDao.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/project/SoftwareTestOrderDao.xml b/modules/mainPart/src/main/resources/mapper/project/SoftwareTestOrderDao.xml index e90c64c..c5ccaa5 100644 --- a/modules/mainPart/src/main/resources/mapper/project/SoftwareTestOrderDao.xml +++ b/modules/mainPart/src/main/resources/mapper/project/SoftwareTestOrderDao.xml @@ -18,4 +18,34 @@ </if> </select> + <select id="getMeasuredDictList" resultType="com.zt.life.modules.project.model.SoftwareTestOrderMeasured"> + SELECT dd.* + FROM sys_dict_type dt + JOIN sys_dict_data dd ON dt.ID = dd.DICT_TYPE_ID + WHERE dt.DICT_TYPE = 'testItem_type'; + <where> + <if test="whereSql!=null"> + and ${whereSql} + </if> + </where> + <if test="orderBySql!=null"> + ORDER BY ${orderBySql} + </if> + </select> + + <select id="getdeliverableDictList" resultType="com.zt.life.modules.project.model.SoftwareTestOrderDeliverable"> + SELECT dd.* + FROM sys_dict_type dt + JOIN sys_dict_data dd ON dt.ID = dd.DICT_TYPE_ID + WHERE dt.DICT_TYPE = 'product_library_file'; + <where> + <if test="whereSql!=null"> + and ${whereSql} + </if> + </where> + <if test="orderBySql!=null"> + ORDER BY ${orderBySql} + </if> + </select> + </mapper> -- Gitblit v1.9.1