jinlin
2023-11-14 96905176e38f8ebfbc44da1dd9adc650357bfc4f
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>