瀏覽代碼

Merge branch 'dev-1.1.4' of https://172.16.32.165/hurugang/thmz_system into dev-1.1.4

hurugang 2 年之前
父節點
當前提交
dc3add6a5c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/yp/YpBaseMapper.java

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/yp/YpBaseMapper.java

@@ -302,7 +302,7 @@ public interface YpBaseMapper {
                     "  a.manu_code," +
                     "  a.national_code," +
                     "  b.stock_amount," +
-                    "  stock_value =isnull( b.pack_retprice,a.pack_retprice) * b.stock_amount  ," +
+                    "  stock_value =cast(isnull( b.pack_retprice,a.pack_retprice) * b.stock_amount as numeric(12, 3))  ," +
                     "  b.location," +
                     "  a.jb_flag," +
                     "  a.ym_flag" +