瀏覽代碼

项目查询修改

anderx 5 年之前
父節點
當前提交
5254a3d8c0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

+ 2 - 2
src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

@@ -1467,7 +1467,7 @@ ifnull(ttm.party_amount,0) partyAmount,a.commodity_price commodityPrice,a.outsou
   	and e.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
   	</if>
   	<if test="projectStatus != null">
-  	and e.project_status = #{projectStatus,jdbcType=INTEGER}
+  	and a.project_status = #{projectStatus,jdbcType=INTEGER}
   	</if>
   	<if test="depId != null">
   	and e.order_dep= #{depId,jdbcType=VARCHAR}
@@ -1535,7 +1535,7 @@ ifnull(ttm.party_amount,0) partyAmount,a.commodity_price commodityPrice,a.outsou
   	and e.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
   	</if>
   	<if test="projectStatus != null">
-  	and e.project_status = #{projectStatus,jdbcType=INTEGER}
+  	and a.project_status = #{projectStatus,jdbcType=INTEGER}
   	</if>
   	<if test="depId != null">
   	and e.order_dep = #{depId,jdbcType=VARCHAR}