소스 검색

成本模型导入——近期值按合同签署日期算

LLL 1 년 전
부모
커밋
8c6a1bae07
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      module_kzks/src/main/java/org/jeecg/modules/costModelClPrice/mapper/xml/CostModelClPriceMapper.xml

+ 2 - 2
module_kzks/src/main/java/org/jeecg/modules/costModelClPrice/mapper/xml/CostModelClPriceMapper.xml

@@ -13,7 +13,7 @@
                 <if test="zlLevel != null  and zlLevel != ''">and zl_level = #{zlLevel}</if>
                 <if test="pici != null  and pici != ''">and pici = #{pici}</if>
             </where>
-               ORDER BY caigou_time DESC limit 1),0) as recentDanjia,
+               ORDER BY HT_DATE DESC limit 1),0) as recentDanjia,
                ifnull(max(CONVERT(danjia, DECIMAL)),0) * #{number} as maxPrice,
                ifnull(min(CONVERT(danjia, DECIMAL)),0) * #{number} as minPrice,
                ifnull(avg(CONVERT(danjia, DECIMAL)),0) * #{number} as avePrice,
@@ -24,7 +24,7 @@
                 <if test="zlLevel != null  and zlLevel != ''">and zl_level = #{zlLevel}</if>
                 <if test="pici != null  and pici != ''">and pici = #{pici}</if>
             </where>
-               ORDER BY caigou_time DESC limit 1),0) * #{number} as recentPrice,
+               ORDER BY HT_DATE DESC limit 1),0) * #{number} as recentPrice,
                #{xiangmuId} as xiangmuId,
                #{xiangmuName} as xiangmuName,
                #{caigouTime} as caigouTime,