LoggerZnddController.java 817 Bytes
package com.bsth.controller.zndd;

import com.bsth.controller.BaseController;
import com.bsth.entity.zndd.LoggerZndd;
import com.bsth.service.zndd.LoggerZnddService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("logZndd")
public class LoggerZnddController  extends BaseController<LoggerZndd, Integer> {

    @Autowired
    LoggerZnddService loggerZnddService;
    @RequestMapping("listall")
    public List<Map<String, Object>> listAll(@RequestParam Map<String, Object> map){

        return  loggerZnddService.listAll(map);
    }
}