|
@@ -10,7 +10,7 @@
|
|
AND orientation_name LIKE CONCAT('%', #{orientationName}, '%')
|
|
AND orientation_name LIKE CONCAT('%', #{orientationName}, '%')
|
|
</if>
|
|
</if>
|
|
<if test="projectId !=null">
|
|
<if test="projectId !=null">
|
|
- AND t1.product_id =#{projectId}
|
|
|
|
|
|
+ AND t1.project_id =#{projectId}
|
|
</if>
|
|
</if>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -43,8 +43,9 @@
|
|
AND orientation_name LIKE CONCAT(CONCAT('%', #{orientationName}), '%')
|
|
AND orientation_name LIKE CONCAT(CONCAT('%', #{orientationName}), '%')
|
|
</if>
|
|
</if>
|
|
<if test="projectId !=null">
|
|
<if test="projectId !=null">
|
|
- AND t1.product_id =#{projectId}
|
|
|
|
|
|
+ AND t1.project_id =#{projectId}
|
|
</if>
|
|
</if>
|
|
|
|
+ order by t1.create_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="queryUnitCount" resultType="java.lang.Long">
|
|
<select id="queryUnitCount" resultType="java.lang.Long">
|
|
@@ -74,6 +75,7 @@
|
|
AND account_id = #{accountId}
|
|
AND account_id = #{accountId}
|
|
</if>
|
|
</if>
|
|
)
|
|
)
|
|
|
|
+ order by t1.create_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|