java110 před 5 roky
rodič
revize
a1d00aa2d3

+ 4 - 2
java110-db/src/main/resources/mapper/fee/TempCarFeeConfigServiceDaoImplMapper.xml

@@ -246,9 +246,11 @@
         select t.rule_id ruleId,t.spec_id specId,t.spec_name specName,t.seq from
         select t.rule_id ruleId,t.spec_id specId,t.spec_name specName,t.seq from
         temp_car_fee_rule_spec t
         temp_car_fee_rule_spec t
         where t.status_cd = '0'
         where t.status_cd = '0'
-        and t.rule_id = #{ruleId}
+        <if test="ruleId !=null and ruleId != ''">
+            and t.rule_id= #{ruleId}
+        </if>
         <if test="specId !=null and specId != ''">
         <if test="specId !=null and specId != ''">
-        and t.spec_id = #{specId}
+            and t.spec_id = #{specId}
         </if>
         </if>
         <if test="ruleIds !=null">
         <if test="ruleIds !=null">
             and t.rule_id in
             and t.rule_id in

+ 4 - 4
java110-utils/src/main/java/com/java110/utils/constant/ServiceCodeTempCarFeeConfigConstant.java

@@ -9,23 +9,23 @@ public class ServiceCodeTempCarFeeConfigConstant {
     /**
     /**
      * 添加 临时车收费标准
      * 添加 临时车收费标准
      */
      */
-    public static final String ADD_TEMPCARFEECONFIG = "tempCarFeeConfig.saveTempCarFeeConfig";
+    public static final String ADD_TEMPCARFEECONFIG = "fee.saveTempCarFeeConfig";
 
 
 
 
     /**
     /**
      * 修改 临时车收费标准
      * 修改 临时车收费标准
      */
      */
-    public static final String UPDATE_TEMPCARFEECONFIG = "tempCarFeeConfig.updateTempCarFeeConfig";
+    public static final String UPDATE_TEMPCARFEECONFIG = "fee.updateTempCarFeeConfig";
     /**
     /**
      * 删除 临时车收费标准
      * 删除 临时车收费标准
      */
      */
-    public static final String DELETE_TEMPCARFEECONFIG = "tempCarFeeConfig.deleteTempCarFeeConfig";
+    public static final String DELETE_TEMPCARFEECONFIG = "fee.deleteTempCarFeeConfig";
 
 
 
 
     /**
     /**
      * 查询 临时车收费标准
      * 查询 临时车收费标准
      */
      */
-    public static final String LIST_TEMPCARFEECONFIGS = "tempCarFeeConfig.listTempCarFeeConfigs";
+    public static final String LIST_TEMPCARFEECONFIGS = "fee.listTempCarFeeConfigs";
 
 
 
 
 }
 }