/**
 * Copyright (C), 2015-2019
 * Author:   HJL
 * Date:     2019/7/19 14:39
 * Description:缺陷管理
 */
package com.emr.controller;

import com.emr.entity.*;
import com.emr.service.Zd_AssortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

@Controller
@RequestMapping("/zdAssort")
public class ZdAssortController {
    @Autowired
    private Zd_AssortService zdAssortService;

    @ResponseBody
    @RequestMapping(value = "/getAssort")
    public List<Zd_Assort> getDept(HttpServletResponse response, Zd_Assort zdAssort) throws Exception {
        //列表
        return zdAssortService.selectByColm(zdAssort);
    }
}
 

