Explorar el Código

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

LLL hace 1 año
padre
commit
8c6a1bae07

+ 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,