From 55313f7b1d3dc7959b6d1e93f9e652be0b0bc646 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期二, 14 十一月 2023 14:15:18 +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