Sfoglia il codice sorgente

更改错误赋值

buzhanyi 2 anni fa
parent
commit
b34c72517e

+ 2 - 2
purchase-system/src/main/java/com/ozs/pm/service/impl/PmDemandServiceImpl.java

@@ -1013,8 +1013,8 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
         }
 
         PmDemand pmDemandUpdate = new PmDemand();
-        pmDemand.setDemandId(pmDemand.getDemandId());
-        pmDemand.setHasExpert("1");
+        pmDemandUpdate.setDemandId(pmDemand.getDemandId());
+        pmDemandUpdate.setHasExpert("1");
         this.updateById(pmDemandUpdate);
 
         return true;