This commit is contained in:
cwchen 2024-07-25 15:27:44 +08:00
parent 0189beb20d
commit 58abac89e1
2 changed files with 6 additions and 0 deletions

View File

@ -15,4 +15,6 @@ public class SelectDto {
/** 字段编码*/ /** 字段编码*/
private String code; private String code;
private Long id;
} }

View File

@ -74,5 +74,9 @@
contract_date AS contractDate contract_date AS contractDate
FROM tb_exper_device FROM tb_exper_device
WHERE del_flag = 0 WHERE del_flag = 0
<if test="id!=null">
AND dev_id = #{id}
</if>
</select> </select>
</mapper> </mapper>