فهرست منبع

项目录入中添加规格的字段

xiaochan 3 سال پیش
والد
کامیت
d08d774ea7

+ 3 - 3
src/main/java/thyyxxk/webserver/dao/his/yibao/XiangMuLuRuDao.java

@@ -522,11 +522,11 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
             "       serial='00', " +
             "       group_no='00'," +
             "       national_code," +
-            "       national_name " +
-            "FROM zd_charge_item a,zd_unit_code b " +
+            "       national_name," +
+            "       descriptions " +
+            "FROM zd_charge_item a left join zd_unit_code b on (a.exec_unit = b.code) " +
             "where    isnull(a.del_flag,'') <> '1' and " +
             "         isnull(a.in_out_flag,'') <> '1' and " +
-            "         a.exec_unit*=b.code and " +
             "         (a.py_code like #{pyCode} or a.code like #{pyCode} or a.name like #{pyCode})")
     List<ZyDetailCharge> queryXiangMu(String pyCode);
 

+ 8 - 0
src/main/java/thyyxxk/webserver/entity/datamodify/ZyDetailCharge.java

@@ -154,8 +154,16 @@ public class ZyDetailCharge implements Serializable {
 
     private String chargeName;
 
+    /**
+     * 单位
+     */
     private String spec;
 
+    /**
+     * 规格
+     */
+    private String descriptions;
+
     private String yblx;
 
     private BigDecimal price;