admin
2021-10-13 052e1d5c47c4e536fde79074d53b0481c7d4f9b6
src/main/java/org/yeshi/utils/generater/vo/service/ServiceInfoVO.java
@@ -11,7 +11,6 @@
public class ServiceInfoVO extends BaseData {
    private ClassInfo service;
    private ClassInfo dao;
    //方法列表
    private List<ServiceMetodInfoVO> metodInfoList;
    private ClassInfo query;
@@ -20,7 +19,6 @@
    public static class Builder {
        private Class entity;
        private String packageName;
        private ClassInfo dao;
        private ClassInfo service;
        private ClassInfo query;
@@ -32,11 +30,6 @@
        public Builder setPackageName(String packageName) {
            this.packageName = packageName;
            return this;
        }
        public Builder setDao(ClassInfo dao) {
            this.dao = dao;
            return this;
        }
@@ -82,9 +75,6 @@
            if (packageName == null) {
                throw new Exception("packageName不能为空");
            }
            if (dao == null) {
                throw new Exception("dao不能为空");
            }
            if (service == null) {
                throw new Exception("service不能为空");
            }
@@ -102,7 +92,6 @@
                throw new Exception("尚未找到主键属性");
            }
            ServiceInfoVO serviceData = new ServiceInfoVO();
            serviceData.setDao(dao);
            serviceData.setService(service);
            serviceData.setEntity(new ClassInfo(entity.getSimpleName(), entity.getName()));
            serviceData.setPackageName(packageName);
@@ -166,14 +155,6 @@
    public void setService(ClassInfo service) {
        this.service = service;
    }
    public ClassInfo getDao() {
        return dao;
    }
    public void setDao(ClassInfo dao) {
        this.dao = dao;
    }
    public List<ServiceMetodInfoVO> getMetodInfoList() {