|
@@ -711,20 +711,6 @@ public class MtCtl extends BaseWebCtl {
|
|
}
|
|
}
|
|
// 子类一并删除
|
|
// 子类一并删除
|
|
mtService.logicDelete(id);
|
|
mtService.logicDelete(id);
|
|
- // 如果是市级新增或者修改,保存后同步到省级
|
|
|
|
- MtEntity mt = mtService.findOne(id);
|
|
|
|
- try {
|
|
|
|
- if (GlobalData.DEPLOY_MODE.equals(Constants.DEPLOY_MODE_CITY)) {
|
|
|
|
- MtWebService webService = mtService.getWebService(null);
|
|
|
|
- webService.delete(id);
|
|
|
|
- mt.setTbzt(Constants.YES);
|
|
|
|
- mtService.save(mt);
|
|
|
|
- }
|
|
|
|
- } catch (Exception e) {
|
|
|
|
- mt.setTbzt(Constants.NO);
|
|
|
|
- mtService.save(mt);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
wr.setSuccess(false);
|
|
wr.setSuccess(false);
|
|
wr.setMessage("删除失败!");
|
|
wr.setMessage("删除失败!");
|