master
Gitea 2 weeks ago
parent f926cad86a
commit b9600b6872
  1. 3
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/instrument/controller/InstrumentController.java

@ -390,8 +390,7 @@ public class InstrumentController extends JeecgController<Instrument, IInstrumen
if(instrument.getFlag().equals("1")){ if(instrument.getFlag().equals("1")){
instrument.setState("2"); instrument.setState("2");
instrument.setFlag("2"); instrument.setFlag("2");
} }else if(instrument.getFlag().equals("2")&&instrument.getState().equals("2")){
if(instrument.getFlag().equals("2")&&instrument.getState().equals("2")){
instrument.setState("3"); instrument.setState("3");
} }
//instrument.setFlag("2"); //instrument.setFlag("2");

Loading…
Cancel
Save