wwh преди 2 години
родител
ревизия
c4017cd74c
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      admin/src/main/java/com/huimv/farm/damsubsidy/service/impl/BillSubsidyServiceImpl.java

+ 2 - 2
admin/src/main/java/com/huimv/farm/damsubsidy/service/impl/BillSubsidyServiceImpl.java

@@ -151,10 +151,10 @@ public class BillSubsidyServiceImpl extends ServiceImpl<BillSubsidyMapper, BillS
         BillSubsidy billSubsidy = subsidyMapper.selectOne(queryWrapper);
         if (type == 1) { //驳回
             String rejectReason = paramsMap.get("rejectReason");
-            if (rejectReason == null || rejectReason == "") {
+            if (rejectReason == null || "".equals(rejectReason)) {
                 return new Result(10001, "驳回理由不能为空!",false);
             }
-            if (workAccptUrl == null || workAccptUrl == "") {
+            if (workAccptUrl == null || "".equals(workAccptUrl)) {
                 return new Result(10001, "工作验收表不能为空!",false);
             }
             billSubsidy.setSubsidySch(4);