#
luxiaotao1123
2020-06-18 ae5401a34b32643b2db847b4e5266758e63cd7aa
src/main/java/com/zy/asrs/controller/StaDescController.java
@@ -57,7 +57,7 @@
    }
    @RequestMapping(value = "/staDesc/add/auth")
    @ManagerAuth
    @ManagerAuth(memo = "站点路径添加")
    public R add(StaDesc staDesc) {
        staDesc.setModiUser(getUserId());
        staDesc.setModiTime(new Date());
@@ -68,9 +68,9 @@
    }
   @RequestMapping(value = "/staDesc/update/auth")
   @ManagerAuth
   @ManagerAuth(memo = "站点路径修改")
    public R update(StaDesc staDesc){
        if (Cools.isEmpty(staDesc) || null==staDesc.getCrnNo()){
        if (Cools.isEmpty(staDesc) || null==staDesc.getTypeId()){
            return R.error();
        }
        staDesc.setModiUser(getUserId());
@@ -80,7 +80,7 @@
    }
    @RequestMapping(value = "/staDesc/delete/auth")
    @ManagerAuth
    @ManagerAuth(memo = "站点路径删除")
    public R delete(@RequestParam String param){
        List<StaDesc> list = JSONArray.parseArray(param, StaDesc.class);
        if (Cools.isEmpty(list)){
@@ -93,7 +93,7 @@
    }
    @RequestMapping(value = "/staDesc/export/auth")
    @ManagerAuth
    @ManagerAuth(memo = "站点路径导出")
    public R export(@RequestBody JSONObject param){
        List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class);
        EntityWrapper<StaDesc> wrapper = new EntityWrapper<>();