正在显示
21 个修改的文件
包含
926 行增加
和
7 行删除
| 1 | +package com.zhonglai.luhui.afms; | ||
| 2 | + | ||
| 3 | +import org.springframework.boot.SpringApplication; | ||
| 4 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; | ||
| 6 | +import org.springframework.context.annotation.ComponentScan; | ||
| 7 | + | ||
| 8 | +@ComponentScan(basePackages = { | ||
| 9 | + "com.ruoyi.common", | ||
| 10 | + "com.ruoyi.system", | ||
| 11 | + "com.ruoyi.framework", | ||
| 12 | + "com.zhonglai.luhui.afms.config", | ||
| 13 | + "com.zhonglai.luhui.afms.controller", | ||
| 14 | +}) | ||
| 15 | +@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) | ||
| 16 | +public class LhAfmsApplication { | ||
| 17 | + public static void main(String[] args) { | ||
| 18 | + SpringApplication.run(LhAfmsApplication.class,args); | ||
| 19 | + System.out.println("启动成功"); | ||
| 20 | + } | ||
| 21 | +} |
| 1 | +package com.zhonglai.luhui.afms.config; | ||
| 2 | + | ||
| 3 | +import com.ruoyi.common.config.RuoYiConfig; | ||
| 4 | +import io.swagger.annotations.ApiOperation; | ||
| 5 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 6 | +import org.springframework.context.annotation.Bean; | ||
| 7 | +import org.springframework.context.annotation.Configuration; | ||
| 8 | +import springfox.documentation.builders.ApiInfoBuilder; | ||
| 9 | +import springfox.documentation.builders.PathSelectors; | ||
| 10 | +import springfox.documentation.builders.RequestHandlerSelectors; | ||
| 11 | +import springfox.documentation.service.ApiInfo; | ||
| 12 | +import springfox.documentation.service.Contact; | ||
| 13 | +import springfox.documentation.spi.DocumentationType; | ||
| 14 | +import springfox.documentation.spring.web.plugins.Docket; | ||
| 15 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 16 | + | ||
| 17 | + | ||
| 18 | +@Configuration | ||
| 19 | +@EnableSwagger2 | ||
| 20 | +public class SwaggerConfig { | ||
| 21 | + /** 系统基础配置 */ | ||
| 22 | + @Autowired | ||
| 23 | + private RuoYiConfig ruoyiConfig; | ||
| 24 | + @Bean | ||
| 25 | + public Docket createRestApi() { | ||
| 26 | + return new Docket(DocumentationType.SWAGGER_2) | ||
| 27 | + .apiInfo(apiInfo()) | ||
| 28 | + .select() | ||
| 29 | + .apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class)) | ||
| 30 | + .paths(PathSelectors.any()) | ||
| 31 | + .build(); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 添加摘要信息 | ||
| 36 | + */ | ||
| 37 | + private ApiInfo apiInfo() | ||
| 38 | + { | ||
| 39 | + // 用ApiInfoBuilder进行定制 | ||
| 40 | + return new ApiInfoBuilder() | ||
| 41 | + // 设置标题 | ||
| 42 | + .title("标题:后台管理员端") | ||
| 43 | + // 描述 | ||
| 44 | + .description("描述:用于通过mqtt发送指令控制PC端操作") | ||
| 45 | + // 作者信息 | ||
| 46 | + .contact(new Contact(ruoyiConfig.getName(), null, null)) | ||
| 47 | + // 版本 | ||
| 48 | + .version("版本号:" + ruoyiConfig.getVersion()) | ||
| 49 | + .build(); | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | +} |
| 1 | +restart.include.json=/com.alibaba.fastjson.*.jar |
| 1 | +# 数据源配置 | ||
| 2 | +spring: | ||
| 3 | + datasource: | ||
| 4 | + type: com.alibaba.druid.pool.DruidDataSource | ||
| 5 | + driverClassName: com.mysql.cj.jdbc.Driver | ||
| 6 | + druid: | ||
| 7 | + # 主库数据源 | ||
| 8 | + master: | ||
| 9 | + url: jdbc:mysql://119.23.218.181:3306/lh-afms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 | ||
| 10 | + username: root | ||
| 11 | + password: Luhui586 | ||
| 12 | + # 从库数据源 | ||
| 13 | + slave: | ||
| 14 | + # 从数据源开关/默认关闭 | ||
| 15 | + enabled: false | ||
| 16 | + url: | ||
| 17 | + username: | ||
| 18 | + password: | ||
| 19 | + # 初始连接数 | ||
| 20 | + initialSize: 5 | ||
| 21 | + # 最小连接池数量 | ||
| 22 | + minIdle: 10 | ||
| 23 | + # 最大连接池数量 | ||
| 24 | + maxActive: 20 | ||
| 25 | + # 配置获取连接等待超时的时间 | ||
| 26 | + maxWait: 60000 | ||
| 27 | + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 | ||
| 28 | + timeBetweenEvictionRunsMillis: 60000 | ||
| 29 | + # 配置一个连接在池中最小生存的时间,单位是毫秒 | ||
| 30 | + minEvictableIdleTimeMillis: 300000 | ||
| 31 | + # 配置一个连接在池中最大生存的时间,单位是毫秒 | ||
| 32 | + maxEvictableIdleTimeMillis: 900000 | ||
| 33 | + # 配置检测连接是否有效 | ||
| 34 | + validationQuery: SELECT 1 FROM DUAL | ||
| 35 | + testWhileIdle: true | ||
| 36 | + testOnBorrow: false | ||
| 37 | + testOnReturn: false | ||
| 38 | + webStatFilter: | ||
| 39 | + enabled: true | ||
| 40 | + statViewServlet: | ||
| 41 | + enabled: true | ||
| 42 | + # 设置白名单,不填则允许所有访问 | ||
| 43 | + allow: | ||
| 44 | + url-pattern: /druid/* | ||
| 45 | + # 控制台管理用户名和密码 | ||
| 46 | + login-username: ruoyi | ||
| 47 | + login-password: 123456 | ||
| 48 | + filter: | ||
| 49 | + stat: | ||
| 50 | + enabled: true | ||
| 51 | + # 慢SQL记录 | ||
| 52 | + log-slow-sql: true | ||
| 53 | + slow-sql-millis: 1000 | ||
| 54 | + merge-sql: true | ||
| 55 | + wall: | ||
| 56 | + config: | ||
| 57 | + multi-statement-allow: true |
lh-afms/src/main/resources/application.yml
0 → 100644
| 1 | +# 项目相关配置 jhlt: # 名称 name: zhonglai # 版本 version: 3.8.2 # 版权年份 copyrightYear: 2022 # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) profile: D:/ruoyi/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数组计算 char 字符验证 captchaType: math # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 port: 18081 servlet: # 应用的访问路径 context-path: / tomcat: # tomcat的URI编码 uri-encoding: UTF-8 # 连接数满后的排队数,默认为100 accept-count: 1000 threads: # tomcat最大线程数,默认为200 max: 800 # Tomcat启动初始化的线程数,默认值10 min-spare: 100 # 日志配置 logging: level: com.ruoyi: debug org.springframework: warn # Spring配置 spring: # 资源信息 messages: # 国际化资源文件路径 basename: i18n/messages profiles: active: druid # 文件上传 servlet: multipart: # 单个文件大小 max-file-size: 10MB # 设置总上传的文件大小 max-request-size: 20MB # 服务模块 devtools: restart: # 热部署开关 enabled: true # redis 配置 redis: # 地址 host: 47.112.163.61 # 端口,默认为6379 port: 9527 # 数据库索引 database: 1 # 密码 password: Luhui586 # 连接超时时间 timeout: 10s lettuce: pool: # 连接池中的最小空闲连接 min-idle: 0 # 连接池中的最大空闲连接 max-idle: 8 # 连接池的最大数据库连接数 max-active: 8 # #连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms # token配置 token: # 令牌自定义标识 header: Authorization # 令牌密钥 secret: abcdefghijklmnopqrstuvwxyz # 令牌有效期(默认30分钟) expireTime: 1440 rediskey: lh-afms # MyBatis配置 mybatis: # 搜索指定包别名 typeAliasesPackage: com.ruoyi.**.domain # 配置mapper的扫描,找到所有的mapper.xml映射文件 mapperLocations: classpath*:mapper/**/*Mapper.xml # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml # PageHelper分页插件 pagehelper: helperDialect: mysql supportMethodsArguments: true params: count=countSql # Swagger配置 swagger: # 是否开启swagger enabled: true # 请求前缀 pathMapping: /dev-api # 防止XSS攻击 xss: # 过滤开关 enabled: true # 排除链接(多个用逗号分隔) excludes: /system/notice # 匹配链接 urlPatterns: /system/*,/monitor/*,/tool/* mqtt: client: device_life: 180 sys: ## // 对于登录login 注册register 验证码captchaImage 允许匿名访问 antMatchers: /login/ApiLogin/* # NameServer地址 rocketmq: name-server: 47.115.144.179:9876 # 默认的消息组 producer: group: deviceCommand send-message-timeout: 30000 send-topic: lh-api-test send-tags: 1 |
| 1 | +#错误消息 | ||
| 2 | +not.null=* 必须填写 | ||
| 3 | +user.jcaptcha.error=验证码错误 | ||
| 4 | +user.jcaptcha.expire=验证码已失效 | ||
| 5 | +user.not.exists=用户不存在/密码错误 | ||
| 6 | +user.password.not.match=用户不存在/密码错误 | ||
| 7 | +user.password.retry.limit.count=密码输入错误{0}次 | ||
| 8 | +user.password.retry.limit.exceed=密码输入错误{0}次,帐户锁定10分钟 | ||
| 9 | +user.password.delete=对不起,您的账号已被删除 | ||
| 10 | +user.blocked=用户已封禁,请联系管理员 | ||
| 11 | +role.blocked=角色已封禁,请联系管理员 | ||
| 12 | +user.logout.success=退出成功 | ||
| 13 | + | ||
| 14 | +length.not.valid=长度必须在{min}到{max}个字符之间 | ||
| 15 | + | ||
| 16 | +user.username.not.valid=* 2到20个汉字、字母、数字或下划线组成,且必须以非数字开头 | ||
| 17 | +user.password.not.valid=* 5-50个字符 | ||
| 18 | + | ||
| 19 | +user.email.not.valid=邮箱格式错误 | ||
| 20 | +user.mobile.phone.number.not.valid=手机号格式错误 | ||
| 21 | +user.login.success=登录成功 | ||
| 22 | +user.register.success=注册成功 | ||
| 23 | +user.notfound=请重新登录 | ||
| 24 | +user.forcelogout=管理员强制退出,请重新登录 | ||
| 25 | +user.unknown.error=未知错误,请重新登录 | ||
| 26 | + | ||
| 27 | +##文件上传消息 | ||
| 28 | +upload.exceed.maxSize=上传的文件大小超出限制的文件大小!<br/>允许的文件最大大小是:{0}MB! | ||
| 29 | +upload.filename.exceed.length=上传的文件名最长{0}个字符 | ||
| 30 | + | ||
| 31 | +##权限 | ||
| 32 | +no.permission=您没有数据的权限,请联系管理员添加权限 [{0}] | ||
| 33 | +no.create.permission=您没有创建数据的权限,请联系管理员添加权限 [{0}] | ||
| 34 | +no.update.permission=您没有修改数据的权限,请联系管理员添加权限 [{0}] | ||
| 35 | +no.delete.permission=您没有删除数据的权限,请联系管理员添加权限 [{0}] | ||
| 36 | +no.export.permission=您没有导出数据的权限,请联系管理员添加权限 [{0}] | ||
| 37 | +no.view.permission=您没有查看数据的权限,请联系管理员添加权限 [{0}] |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE configuration | ||
| 3 | +PUBLIC "-//mybatis.org//DTD Config 3.0//EN" | ||
| 4 | +"http://mybatis.org/dtd/mybatis-3-config.dtd"> | ||
| 5 | +<configuration> | ||
| 6 | + <!-- 全局参数 --> | ||
| 7 | + <settings> | ||
| 8 | + <!-- 使全局的映射器启用或禁用缓存 --> | ||
| 9 | + <setting name="cacheEnabled" value="true" /> | ||
| 10 | + <!-- 允许JDBC 支持自动生成主键 --> | ||
| 11 | + <setting name="useGeneratedKeys" value="true" /> | ||
| 12 | + <!-- 配置默认的执行器.SIMPLE就是普通执行器;REUSE执行器会重用预处理语句(prepared statements);BATCH执行器将重用语句并执行批量更新 --> | ||
| 13 | + <setting name="defaultExecutorType" value="SIMPLE" /> | ||
| 14 | + <!-- 指定 MyBatis 所用日志的具体实现 --> | ||
| 15 | + <setting name="logImpl" value="SLF4J" /> | ||
| 16 | + <!-- 使用驼峰命名法转换字段 --> | ||
| 17 | + <!-- <setting name="mapUnderscoreToCamelCase" value="true"/> --> | ||
| 18 | + </settings> | ||
| 19 | + | ||
| 20 | +</configuration> |
lh-afms/src/main/resources/package.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | + | ||
| 3 | +<assembly> | ||
| 4 | + <id>bin</id> | ||
| 5 | + <!-- 最终打包成一个用于发布的zip文件 --> | ||
| 6 | + <formats> | ||
| 7 | + <format>zip</format> | ||
| 8 | + </formats> | ||
| 9 | + | ||
| 10 | + <!-- Adds dependencies to zip package under lib directory --> | ||
| 11 | + <dependencySets> | ||
| 12 | + <dependencySet> | ||
| 13 | + <!-- | ||
| 14 | + 不使用项目的artifact,第三方jar不要解压,打包进zip文件的lib目录 | ||
| 15 | + --> | ||
| 16 | + <useProjectArtifact>false</useProjectArtifact> | ||
| 17 | + <outputDirectory>lib</outputDirectory> | ||
| 18 | + <unpack>false</unpack> | ||
| 19 | + </dependencySet> | ||
| 20 | + </dependencySets> | ||
| 21 | + | ||
| 22 | + <fileSets> | ||
| 23 | + <!-- 把项目相关的说明文件,打包进zip文件的根目录 --> | ||
| 24 | + <fileSet> | ||
| 25 | + <directory>${project.basedir}</directory> | ||
| 26 | + <outputDirectory>/</outputDirectory> | ||
| 27 | + <includes> | ||
| 28 | + <include>README*</include> | ||
| 29 | + <include>LICENSE*</include> | ||
| 30 | + <include>NOTICE*</include> | ||
| 31 | + </includes> | ||
| 32 | + </fileSet> | ||
| 33 | + | ||
| 34 | + <!-- 把项目的配置文件,打包进zip文件的config目录 --> | ||
| 35 | + <fileSet> | ||
| 36 | + <directory>${project.basedir}\src\main\resources\configs</directory> | ||
| 37 | + <outputDirectory>../configs</outputDirectory> | ||
| 38 | + <includes> | ||
| 39 | + <include>*.properties</include> | ||
| 40 | + </includes> | ||
| 41 | + </fileSet> | ||
| 42 | + | ||
| 43 | + <!-- 把项目的配置文件,提出来 --> | ||
| 44 | + <fileSet> | ||
| 45 | + <directory>${project.basedir}\src\main\resources</directory> | ||
| 46 | + <outputDirectory>/</outputDirectory> | ||
| 47 | + <includes> | ||
| 48 | + <include>*.properties</include> | ||
| 49 | + <include>*.yml</include> | ||
| 50 | + </includes> | ||
| 51 | + </fileSet> | ||
| 52 | + | ||
| 53 | + <!-- 把项目的脚本文件目录( src/main/scripts )中的启动脚本文件,打包进zip文件的跟目录 --> | ||
| 54 | + <fileSet> | ||
| 55 | + <directory>${project.basedir}\bin</directory> | ||
| 56 | + <outputDirectory></outputDirectory> | ||
| 57 | + <includes> | ||
| 58 | + <include>start.*</include> | ||
| 59 | + <include>stop.*</include> | ||
| 60 | + </includes> | ||
| 61 | + </fileSet> | ||
| 62 | + | ||
| 63 | + <!-- 把项目自己编译出来的jar文件,打包进zip文件的根目录 --> | ||
| 64 | + <fileSet> | ||
| 65 | + <directory>${project.build.directory}</directory> | ||
| 66 | + <outputDirectory></outputDirectory> | ||
| 67 | + <includes> | ||
| 68 | + <include>*.jar</include> | ||
| 69 | + </includes> | ||
| 70 | + </fileSet> | ||
| 71 | + </fileSets> | ||
| 72 | +</assembly> |
| @@ -35,4 +35,77 @@ public class AfmsBasicAquatic { | @@ -35,4 +35,77 @@ public class AfmsBasicAquatic { | ||
| 35 | private Date createTime; | 35 | private Date createTime; |
| 36 | 36 | ||
| 37 | // 省略getter和setter方法 | 37 | // 省略getter和setter方法 |
| 38 | + | ||
| 39 | + | ||
| 40 | + public Integer getId() { | ||
| 41 | + return id; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setId(Integer id) { | ||
| 45 | + this.id = id; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public String getName() { | ||
| 49 | + return name; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setName(String name) { | ||
| 53 | + this.name = name; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public String getCategory() { | ||
| 57 | + return category; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public void setCategory(String category) { | ||
| 61 | + this.category = category; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public String getBrand() { | ||
| 65 | + return brand; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public void setBrand(String brand) { | ||
| 69 | + this.brand = brand; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public Integer getMeasurementUnitId() { | ||
| 73 | + return measurementUnitId; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public void setMeasurementUnitId(Integer measurementUnitId) { | ||
| 77 | + this.measurementUnitId = measurementUnitId; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getSpecificationUnit() { | ||
| 81 | + return specificationUnit; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public void setSpecificationUnit(String specificationUnit) { | ||
| 85 | + this.specificationUnit = specificationUnit; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public Integer getSupplierId() { | ||
| 89 | + return supplierId; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public void setSupplierId(Integer supplierId) { | ||
| 93 | + this.supplierId = supplierId; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public String getSupplier() { | ||
| 97 | + return supplier; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + public void setSupplier(String supplier) { | ||
| 101 | + this.supplier = supplier; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + public Date getCreateTime() { | ||
| 105 | + return createTime; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + public void setCreateTime(Date createTime) { | ||
| 109 | + this.createTime = createTime; | ||
| 110 | + } | ||
| 38 | } | 111 | } |
| @@ -20,4 +20,36 @@ public class AfmsBasicBrand { | @@ -20,4 +20,36 @@ public class AfmsBasicBrand { | ||
| 20 | private Date createTime; | 20 | private Date createTime; |
| 21 | 21 | ||
| 22 | // 省略getter和setter方法 | 22 | // 省略getter和setter方法 |
| 23 | + | ||
| 24 | + public Integer getId() { | ||
| 25 | + return id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setId(Integer id) { | ||
| 29 | + this.id = id; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getName() { | ||
| 33 | + return name; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setName(String name) { | ||
| 37 | + this.name = name; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getDescription() { | ||
| 41 | + return description; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setDescription(String description) { | ||
| 45 | + this.description = description; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public Date getCreateTime() { | ||
| 49 | + return createTime; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setCreateTime(Date createTime) { | ||
| 53 | + this.createTime = createTime; | ||
| 54 | + } | ||
| 23 | } | 55 | } |
| @@ -20,5 +20,37 @@ public class AfmsBasicCategory { | @@ -20,5 +20,37 @@ public class AfmsBasicCategory { | ||
| 20 | private Date createTime; | 20 | private Date createTime; |
| 21 | 21 | ||
| 22 | // 省略getter和setter方法 | 22 | // 省略getter和setter方法 |
| 23 | + | ||
| 24 | + public Integer getId() { | ||
| 25 | + return id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setId(Integer id) { | ||
| 29 | + this.id = id; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getName() { | ||
| 33 | + return name; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setName(String name) { | ||
| 37 | + this.name = name; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getDescription() { | ||
| 41 | + return description; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setDescription(String description) { | ||
| 45 | + this.description = description; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public Date getCreateTime() { | ||
| 49 | + return createTime; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setCreateTime(Date createTime) { | ||
| 53 | + this.createTime = createTime; | ||
| 54 | + } | ||
| 23 | } | 55 | } |
| 24 | 56 |
| @@ -44,4 +44,100 @@ public class AfmsBasicCustomer { | @@ -44,4 +44,100 @@ public class AfmsBasicCustomer { | ||
| 44 | private Date createTime; | 44 | private Date createTime; |
| 45 | 45 | ||
| 46 | // 省略getter和setter方法 | 46 | // 省略getter和setter方法 |
| 47 | + | ||
| 48 | + public Integer getId() { | ||
| 49 | + return id; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setId(Integer id) { | ||
| 53 | + this.id = id; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public String getName() { | ||
| 57 | + return name; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public void setName(String name) { | ||
| 61 | + this.name = name; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public Integer getCustomerTypeId() { | ||
| 65 | + return customerTypeId; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public void setCustomerTypeId(Integer customerTypeId) { | ||
| 69 | + this.customerTypeId = customerTypeId; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public String getContactPerson() { | ||
| 73 | + return contactPerson; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public void setContactPerson(String contactPerson) { | ||
| 77 | + this.contactPerson = contactPerson; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getContactPhone() { | ||
| 81 | + return contactPhone; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public void setContactPhone(String contactPhone) { | ||
| 85 | + this.contactPhone = contactPhone; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public String getContactAddress() { | ||
| 89 | + return contactAddress; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public void setContactAddress(String contactAddress) { | ||
| 93 | + this.contactAddress = contactAddress; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public String getTaxpayerIdentificationNumber() { | ||
| 97 | + return taxpayerIdentificationNumber; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + public void setTaxpayerIdentificationNumber(String taxpayerIdentificationNumber) { | ||
| 101 | + this.taxpayerIdentificationNumber = taxpayerIdentificationNumber; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + public String getBank() { | ||
| 105 | + return bank; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + public void setBank(String bank) { | ||
| 109 | + this.bank = bank; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public String getAccountName() { | ||
| 113 | + return accountName; | ||
| 114 | + } | ||
| 115 | + | ||
| 116 | + public void setAccountName(String accountName) { | ||
| 117 | + this.accountName = accountName; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public String getAccountNumber() { | ||
| 121 | + return accountNumber; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + public void setAccountNumber(String accountNumber) { | ||
| 125 | + this.accountNumber = accountNumber; | ||
| 126 | + } | ||
| 127 | + | ||
| 128 | + public String getBusinessLicense() { | ||
| 129 | + return businessLicense; | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + public void setBusinessLicense(String businessLicense) { | ||
| 133 | + this.businessLicense = businessLicense; | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + public Date getCreateTime() { | ||
| 137 | + return createTime; | ||
| 138 | + } | ||
| 139 | + | ||
| 140 | + public void setCreateTime(Date createTime) { | ||
| 141 | + this.createTime = createTime; | ||
| 142 | + } | ||
| 47 | } | 143 | } |
| @@ -20,4 +20,36 @@ public class AfmsBasicCustomerType { | @@ -20,4 +20,36 @@ public class AfmsBasicCustomerType { | ||
| 20 | private Date createTime; | 20 | private Date createTime; |
| 21 | 21 | ||
| 22 | // 省略getter和setter方法 | 22 | // 省略getter和setter方法 |
| 23 | + | ||
| 24 | + public Integer getId() { | ||
| 25 | + return id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setId(Integer id) { | ||
| 29 | + this.id = id; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getName() { | ||
| 33 | + return name; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setName(String name) { | ||
| 37 | + this.name = name; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getDescription() { | ||
| 41 | + return description; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setDescription(String description) { | ||
| 45 | + this.description = description; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public Date getCreateTime() { | ||
| 49 | + return createTime; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setCreateTime(Date createTime) { | ||
| 53 | + this.createTime = createTime; | ||
| 54 | + } | ||
| 23 | } | 55 | } |
| @@ -32,4 +32,68 @@ public class AfmsBasicFeed { | @@ -32,4 +32,68 @@ public class AfmsBasicFeed { | ||
| 32 | private Date createTime; | 32 | private Date createTime; |
| 33 | 33 | ||
| 34 | // 省略getter和setter方法 | 34 | // 省略getter和setter方法 |
| 35 | + | ||
| 36 | + public Integer getId() { | ||
| 37 | + return id; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public void setId(Integer id) { | ||
| 41 | + this.id = id; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public String getName() { | ||
| 45 | + return name; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public void setName(String name) { | ||
| 49 | + this.name = name; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public Integer getBrandId() { | ||
| 53 | + return brandId; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public void setBrandId(Integer brandId) { | ||
| 57 | + this.brandId = brandId; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public Integer getCategoryId() { | ||
| 61 | + return categoryId; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public void setCategoryId(Integer categoryId) { | ||
| 65 | + this.categoryId = categoryId; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public String getSpecificationUnit() { | ||
| 69 | + return specificationUnit; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public void setSpecificationUnit(String specificationUnit) { | ||
| 73 | + this.specificationUnit = specificationUnit; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public Integer getSupplierId() { | ||
| 77 | + return supplierId; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public void setSupplierId(Integer supplierId) { | ||
| 81 | + this.supplierId = supplierId; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public String getSupplier() { | ||
| 85 | + return supplier; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public void setSupplier(String supplier) { | ||
| 89 | + this.supplier = supplier; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public Date getCreateTime() { | ||
| 93 | + return createTime; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public void setCreateTime(Date createTime) { | ||
| 97 | + this.createTime = createTime; | ||
| 98 | + } | ||
| 35 | } | 99 | } |
| @@ -35,4 +35,76 @@ public class AfmsBasicFry { | @@ -35,4 +35,76 @@ public class AfmsBasicFry { | ||
| 35 | private Date createTime; | 35 | private Date createTime; |
| 36 | 36 | ||
| 37 | // 省略getter和setter方法 | 37 | // 省略getter和setter方法 |
| 38 | + | ||
| 39 | + public Integer getId() { | ||
| 40 | + return id; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public void setId(Integer id) { | ||
| 44 | + this.id = id; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public String getName() { | ||
| 48 | + return name; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public void setName(String name) { | ||
| 52 | + this.name = name; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public Integer getSpeciesId() { | ||
| 56 | + return speciesId; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public void setSpeciesId(Integer speciesId) { | ||
| 60 | + this.speciesId = speciesId; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public String getCategory() { | ||
| 64 | + return category; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public void setCategory(String category) { | ||
| 68 | + this.category = category; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public String getQuantityUnit() { | ||
| 72 | + return quantityUnit; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public void setQuantityUnit(String quantityUnit) { | ||
| 76 | + this.quantityUnit = quantityUnit; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public String getSpecificationUnit() { | ||
| 80 | + return specificationUnit; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public void setSpecificationUnit(String specificationUnit) { | ||
| 84 | + this.specificationUnit = specificationUnit; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public Integer getSupplierId() { | ||
| 88 | + return supplierId; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public void setSupplierId(Integer supplierId) { | ||
| 92 | + this.supplierId = supplierId; | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + public String getSupplier() { | ||
| 96 | + return supplier; | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + public void setSupplier(String supplier) { | ||
| 100 | + this.supplier = supplier; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + public Date getCreateTime() { | ||
| 104 | + return createTime; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public void setCreateTime(Date createTime) { | ||
| 108 | + this.createTime = createTime; | ||
| 109 | + } | ||
| 38 | } | 110 | } |
| @@ -20,4 +20,36 @@ public class AfmsBasicMeasurementUnit { | @@ -20,4 +20,36 @@ public class AfmsBasicMeasurementUnit { | ||
| 20 | private Date createTime; | 20 | private Date createTime; |
| 21 | 21 | ||
| 22 | // 省略getter和setter方法 | 22 | // 省略getter和setter方法 |
| 23 | + | ||
| 24 | + public Integer getId() { | ||
| 25 | + return id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setId(Integer id) { | ||
| 29 | + this.id = id; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getName() { | ||
| 33 | + return name; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setName(String name) { | ||
| 37 | + this.name = name; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getDescription() { | ||
| 41 | + return description; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setDescription(String description) { | ||
| 45 | + this.description = description; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public Date getCreateTime() { | ||
| 49 | + return createTime; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setCreateTime(Date createTime) { | ||
| 53 | + this.createTime = createTime; | ||
| 54 | + } | ||
| 23 | } | 55 | } |
| @@ -26,4 +26,52 @@ public class AfmsBasicPond { | @@ -26,4 +26,52 @@ public class AfmsBasicPond { | ||
| 26 | private Date createTime; | 26 | private Date createTime; |
| 27 | 27 | ||
| 28 | // 省略getter和setter方法 | 28 | // 省略getter和setter方法 |
| 29 | + | ||
| 30 | + public Integer getId() { | ||
| 31 | + return id; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setId(Integer id) { | ||
| 35 | + this.id = id; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public Integer getUserId() { | ||
| 39 | + return userId; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setUserId(Integer userId) { | ||
| 43 | + this.userId = userId; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public String getName() { | ||
| 47 | + return name; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public void setName(String name) { | ||
| 51 | + this.name = name; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public String getPersonInCharge() { | ||
| 55 | + return personInCharge; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public void setPersonInCharge(String personInCharge) { | ||
| 59 | + this.personInCharge = personInCharge; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public String getSpeciesIds() { | ||
| 63 | + return speciesIds; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public void setSpeciesIds(String speciesIds) { | ||
| 67 | + this.speciesIds = speciesIds; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public Date getCreateTime() { | ||
| 71 | + return createTime; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public void setCreateTime(Date createTime) { | ||
| 75 | + this.createTime = createTime; | ||
| 76 | + } | ||
| 29 | } | 77 | } |
| @@ -29,4 +29,60 @@ public class AfmsBasicSpecies { | @@ -29,4 +29,60 @@ public class AfmsBasicSpecies { | ||
| 29 | private Date createTime; | 29 | private Date createTime; |
| 30 | 30 | ||
| 31 | // 省略getter和setter方法 | 31 | // 省略getter和setter方法 |
| 32 | + | ||
| 33 | + public Integer getId() { | ||
| 34 | + return id; | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + public void setId(Integer id) { | ||
| 38 | + this.id = id; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + public String getName() { | ||
| 42 | + return name; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + public void setName(String name) { | ||
| 46 | + this.name = name; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + public String getWaterType() { | ||
| 50 | + return waterType; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public void setWaterType(String waterType) { | ||
| 54 | + this.waterType = waterType; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public String getWeightUnit() { | ||
| 58 | + return weightUnit; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public void setWeightUnit(String weightUnit) { | ||
| 62 | + this.weightUnit = weightUnit; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public String getQuantityUnit() { | ||
| 66 | + return quantityUnit; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + public void setQuantityUnit(String quantityUnit) { | ||
| 70 | + this.quantityUnit = quantityUnit; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + public String getSpecificationUnit() { | ||
| 74 | + return specificationUnit; | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + public void setSpecificationUnit(String specificationUnit) { | ||
| 78 | + this.specificationUnit = specificationUnit; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public Date getCreateTime() { | ||
| 82 | + return createTime; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + public void setCreateTime(Date createTime) { | ||
| 86 | + this.createTime = createTime; | ||
| 87 | + } | ||
| 32 | } | 88 | } |
| @@ -44,4 +44,100 @@ public class AfmsBasicSupplier { | @@ -44,4 +44,100 @@ public class AfmsBasicSupplier { | ||
| 44 | private Date createTime; | 44 | private Date createTime; |
| 45 | 45 | ||
| 46 | // 省略getter和setter方法 | 46 | // 省略getter和setter方法 |
| 47 | + | ||
| 48 | + public Integer getId() { | ||
| 49 | + return id; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setId(Integer id) { | ||
| 53 | + this.id = id; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public String getName() { | ||
| 57 | + return name; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public void setName(String name) { | ||
| 61 | + this.name = name; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public Integer getSupplierTypeId() { | ||
| 65 | + return supplierTypeId; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public void setSupplierTypeId(Integer supplierTypeId) { | ||
| 69 | + this.supplierTypeId = supplierTypeId; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public String getContactPerson() { | ||
| 73 | + return contactPerson; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public void setContactPerson(String contactPerson) { | ||
| 77 | + this.contactPerson = contactPerson; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getContactPhone() { | ||
| 81 | + return contactPhone; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public void setContactPhone(String contactPhone) { | ||
| 85 | + this.contactPhone = contactPhone; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public String getContactAddress() { | ||
| 89 | + return contactAddress; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public void setContactAddress(String contactAddress) { | ||
| 93 | + this.contactAddress = contactAddress; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public String getTaxpayerIdentificationNumber() { | ||
| 97 | + return taxpayerIdentificationNumber; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + public void setTaxpayerIdentificationNumber(String taxpayerIdentificationNumber) { | ||
| 101 | + this.taxpayerIdentificationNumber = taxpayerIdentificationNumber; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + public String getBank() { | ||
| 105 | + return bank; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + public void setBank(String bank) { | ||
| 109 | + this.bank = bank; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public String getAccountName() { | ||
| 113 | + return accountName; | ||
| 114 | + } | ||
| 115 | + | ||
| 116 | + public void setAccountName(String accountName) { | ||
| 117 | + this.accountName = accountName; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public String getAccountNumber() { | ||
| 121 | + return accountNumber; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + public void setAccountNumber(String accountNumber) { | ||
| 125 | + this.accountNumber = accountNumber; | ||
| 126 | + } | ||
| 127 | + | ||
| 128 | + public String getBusinessLicense() { | ||
| 129 | + return businessLicense; | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + public void setBusinessLicense(String businessLicense) { | ||
| 133 | + this.businessLicense = businessLicense; | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + public Date getCreateTime() { | ||
| 137 | + return createTime; | ||
| 138 | + } | ||
| 139 | + | ||
| 140 | + public void setCreateTime(Date createTime) { | ||
| 141 | + this.createTime = createTime; | ||
| 142 | + } | ||
| 47 | } | 143 | } |
| @@ -20,4 +20,36 @@ public class AfmsBasicSupplierType { | @@ -20,4 +20,36 @@ public class AfmsBasicSupplierType { | ||
| 20 | private Date createTime; | 20 | private Date createTime; |
| 21 | 21 | ||
| 22 | // 省略getter和setter方法 | 22 | // 省略getter和setter方法 |
| 23 | + | ||
| 24 | + public Integer getId() { | ||
| 25 | + return id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setId(Integer id) { | ||
| 29 | + this.id = id; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getName() { | ||
| 33 | + return name; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setName(String name) { | ||
| 37 | + this.name = name; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getDescription() { | ||
| 41 | + return description; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setDescription(String description) { | ||
| 45 | + this.description = description; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public Date getCreateTime() { | ||
| 49 | + return createTime; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setCreateTime(Date createTime) { | ||
| 53 | + this.createTime = createTime; | ||
| 54 | + } | ||
| 23 | } | 55 | } |
-
请 注册 或 登录 后发表评论