Commit c330128a authored by zhh's avatar zhh

盘南

parent edcd5290
...@@ -20,10 +20,9 @@ public class Vendor extends Mbo ...@@ -20,10 +20,9 @@ public class Vendor extends Mbo
public void init() throws MXException { public void init() throws MXException {
super.init(); super.init();
try { try {
if (getString("ISHISTORY").equalsIgnoreCase("1")) { if (getString("ISHISTORY").equalsIgnoreCase("1") || getString("STATUS").equals("已批准")) {
this.setFlag(7L,true); //如果是历史,则全部只读 this.setFlag(7L,true); //如果是历史,则全部只读
} }
} catch (RemoteException e) { } catch (RemoteException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment