From 201a73bb1e216c0cb5271728a3f253c45b15b2b2 Mon Sep 17 00:00:00 2001 From: wente <329538422@qq.com> Date: 星期五, 22 三月 2024 15:39:32 +0800 Subject: [PATCH] 空串使用JSON.parse报错问题 --- modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/basicInfo/taskReliability/ModelRbdDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml similarity index 83% rename from modules/mainPart/src/main/resources/mapper/basicInfo/taskReliability/ModelRbdDao.xml rename to modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml index 1225051..a3212db 100644 --- a/modules/mainPart/src/main/resources/mapper/basicInfo/taskReliability/ModelRbdDao.xml +++ b/modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml @@ -31,6 +31,15 @@ </where> limit 1 </select> + <select id="getDiagramOfXDY" resultType="com.zt.life.modules.mainPart.taskReliability.model.ModelRbd"> + select a.* + from model_rbd a + <where> + a.is_delete = 0 + and a.product_id =${productId} + </where> + limit 1 + </select> <update id="deleteByModelId"> delete -- Gitblit v1.9.1