modules/mainPart/src/main/resources/mapper/project/ProjectDao.xml
@@ -11,13 +11,16 @@ <if test="whereSql!=null"> and ${whereSql} </if> <if test="tableName!=null"> and id not in (select project_id from ${tableName} where is_delete = 0) </if> </where> <if test="orderBySql!=null"> ORDER BY ${orderBySql} </if> </select> <select id="getCode" resultType="java.lang.String"> <!--<select id="getCode" resultType="java.lang.String"> SELECT p.CODE FROM Project p where p.is_delete =0 </select> @@ -26,6 +29,6 @@ FROM project WHERE code = #{code} and is_delete = 0 </select> </select>--> </mapper>