| | |
| | | |
| | | //region vo类 import 内容设置 |
| | | private static final String[] SET_VO_IMPORT = new String[]{ |
| | | "import com.lunhan.farming.common.util.LocalDateTimeUtil;", |
| | | "import com.lunhan.farming.common.util.NumericUtil;", |
| | | "import com.lunhan.xxx.common.util.LocalDateTimeUtil;", |
| | | "import com.lunhan.xxx.common.util.NumericUtil;", |
| | | "import java.util.Objects;" |
| | | }; |
| | | //endregion |
| | |
| | | private static final String[] SET_MAPPER_IMPL_IMPORT = new String[]{ |
| | | "import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;", |
| | | "import com.baomidou.mybatisplus.extension.plugins.pagination.Page;", |
| | | "import com.lunhan.farming.common.PagerResult;", |
| | | "import com.lunhan.farming.common.enums.EYesOrNo;", |
| | | "import com.lunhan.farming.common.util.*;", |
| | | "import com.lunhan.farming.entity.dto.*;", |
| | | "import com.lunhan.farming.entity.enums.*;", |
| | | "import com.lunhan.farming.repository.BasicMapperImpl;", |
| | | "import com.lunhan.xxx.common.PagerResult;", |
| | | "import com.lunhan.xxx.common.enums.EYesOrNo;", |
| | | "import com.lunhan.xxx.common.util.*;", |
| | | "import com.lunhan.xxx.entity.dto.*;", |
| | | "import com.lunhan.xxx.entity.enums.*;", |
| | | "import com.lunhan.xxx.repository.BasicMapperImpl;", |
| | | "import org.springframework.stereotype.Repository;", |
| | | "", |
| | | "import java.util.List;" |
| | |
| | | |
| | | //region service类 import 内容设置 |
| | | private static final String[] SET_Service_IMPORT = new String[]{ |
| | | "import com.lunhan.farming.common.*;", |
| | | "import com.lunhan.farming.common.enums.*;", |
| | | "import com.lunhan.farming.common.model.Tuple;", |
| | | "import com.lunhan.farming.common.util.*;", |
| | | "import com.lunhan.xxx.common.*;", |
| | | "import com.lunhan.xxx.common.enums.*;", |
| | | "import com.lunhan.xxx.common.model.Tuple;", |
| | | "import com.lunhan.xxx.common.util.*;", |
| | | "import org.apache.commons.lang3.BooleanUtils;", |
| | | "import org.springframework.beans.factory.annotation.Autowired;", |
| | | "import org.springframework.stereotype.Service;", |
| | |
| | | |
| | | //region Controller类 import 内容设置 |
| | | private static final String[] SET_Controller_IMPORT = new String[]{ |
| | | "import com.lunhan.farming.common.ExecutedResult;", |
| | | "import com.lunhan.farming.common.PagerResult;", |
| | | "import com.lunhan.farming.common.util.ParameterUtil;", |
| | | "import com.lunhan.farming.common.validator.ParameterValidateResult;", |
| | | "import com.lunhan.farming.common.validator.ParameterValidator;", |
| | | "import com.lunhan.farming.entity.request.ReqListId;", |
| | | "import com.lunhan.farming.host.BasicController;", |
| | | "import com.lunhan.xxx.common.ExecutedResult;", |
| | | "import com.lunhan.xxx.common.PagerResult;", |
| | | "import com.lunhan.xxx.common.util.ParameterUtil;", |
| | | "import com.lunhan.xxx.common.validator.ParameterValidateResult;", |
| | | "import com.lunhan.xxx.common.validator.ParameterValidator;", |
| | | "import com.lunhan.xxx.entity.request.ReqListId;", |
| | | "import com.lunhan.xxx.host.BasicController;", |
| | | "import org.springframework.beans.factory.annotation.Autowired;", |
| | | "import org.springframework.web.bind.annotation.*;", |
| | | "import java.util.List;" |