소스 검색

Merge branch 'dev-1.1.4' into 'dev-1.1.4'

金额精度显示优化

See merge request hurugang/thmz_system!39
huangshuhua 2 년 전
부모
커밋
bcda9d99a4
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" +