作者 钟来

Default Changelist

  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project xmlns="http://maven.apache.org/POM/4.0.0"
  3 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5 + <modelVersion>4.0.0</modelVersion>
  6 + <parent>
  7 + <groupId>com.zhonglai.luhui</groupId>
  8 + <artifactId>Luhui</artifactId>
  9 + <version>1.0-SNAPSHOT</version>
  10 + </parent>
  11 +
  12 + <artifactId>lh-afms</artifactId>
  13 +
  14 + <properties>
  15 + <maven.compiler.source>8</maven.compiler.source>
  16 + <maven.compiler.target>8</maven.compiler.target>
  17 + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18 + </properties>
  19 +
  20 + <dependencies>
  21 + <!-- spring-boot-devtools -->
  22 + <dependency>
  23 + <groupId>org.springframework.boot</groupId>
  24 + <artifactId>spring-boot-devtools</artifactId>
  25 + <optional>true</optional> <!-- 表示依赖不会传递 -->
  26 + </dependency>
  27 +
  28 + <!-- Mysql驱动包 -->
  29 + <dependency>
  30 + <groupId>mysql</groupId>
  31 + <artifactId>mysql-connector-java</artifactId>
  32 + </dependency>
  33 +
  34 + <!-- 核心模块-->
  35 + <dependency>
  36 + <groupId>com.zhonglai.luhui</groupId>
  37 + <artifactId>ruoyi-framework</artifactId>
  38 + </dependency>
  39 + <!-- 文档 -->
  40 + <dependency >
  41 + <groupId>io.springfox</groupId>
  42 + <artifactId>springfox-swagger2</artifactId>
  43 + <version>${swagger.version}</version>
  44 + <exclusions>
  45 + <exclusion>
  46 + <groupId>io.swagger</groupId>
  47 + <artifactId>swagger-models</artifactId>
  48 + </exclusion>
  49 + <exclusion>
  50 + <groupId>com.google.guava</groupId>
  51 + <artifactId>guava</artifactId>
  52 + </exclusion>
  53 + </exclusions>
  54 + </dependency>
  55 + <!--https://mvnrepository.com/artifact/io.swagger/swagger-models-->
  56 + <dependency>
  57 + <groupId>io.swagger</groupId>
  58 + <artifactId>swagger-models</artifactId>
  59 + <version>${swagger-models.version}</version>
  60 + </dependency>
  61 + <dependency>
  62 + <groupId>io.springfox</groupId>
  63 + <artifactId>springfox-swagger-ui</artifactId>
  64 + <version>${swagger.version}</version>
  65 + </dependency>
  66 + <!--&lt;!&ndash; https://mvnrepository.com/artifact/com.github.xiaoymin/swagger-bootstrap-ui &ndash;&gt;-->
  67 + <dependency>
  68 + <groupId>com.github.xiaoymin</groupId>
  69 + <artifactId>swagger-bootstrap-ui</artifactId>
  70 + <version>${swagger-ui.version}</version>
  71 + </dependency>
  72 +
  73 + <dependency>
  74 + <groupId>com.theokanning.openai-gpt3-java</groupId>
  75 + <artifactId>service</artifactId>
  76 + <version>0.10.0</version>
  77 + <exclusions>
  78 + <exclusion>
  79 + <groupId>com.squareup.okhttp3</groupId>
  80 + <artifactId>okhttp</artifactId>
  81 + </exclusion>
  82 + </exclusions>
  83 + </dependency>
  84 + <dependency>
  85 + <groupId>com.squareup.okhttp3</groupId>
  86 + <artifactId>okhttp</artifactId>
  87 + <version>4.10.0</version>
  88 + </dependency>
  89 +
  90 + <dependency>
  91 + <groupId>com.zhonglai.luhui</groupId>
  92 + <artifactId>ruoyi-system</artifactId>
  93 + </dependency>
  94 +
  95 + <dependency>
  96 + <groupId>cn.hutool</groupId>
  97 + <artifactId>hutool-all</artifactId>
  98 + </dependency>
  99 + </dependencies>
  100 +</project>
  1 +package com.zhonglai.luhui;
  2 +
  3 +public class Main {
  4 + public static void main(String[] args) {
  5 + System.out.println("Hello world!");
  6 + }
  7 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-动保信息管理")
  8 +public class AfmsBasicAquatic {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "动保名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "类别")
  17 + private String category;
  18 +
  19 + @ApiModelProperty(value = "品牌")
  20 + private String brand;
  21 +
  22 + @ApiModelProperty(value = "计量单位ID")
  23 + private Integer measurementUnitId;
  24 +
  25 + @ApiModelProperty(value = "规格单位")
  26 + private String specificationUnit;
  27 +
  28 + @ApiModelProperty(value = "供应商ID")
  29 + private Integer supplierId;
  30 +
  31 + @ApiModelProperty(value = "供应商")
  32 + private String supplier;
  33 +
  34 + @ApiModelProperty(value = "创建时间")
  35 + private Date createTime;
  36 +
  37 + // 省略getter和setter方法
  38 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-品牌信息管理")
  8 +public class AfmsBasicBrand {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "描述")
  17 + private String description;
  18 +
  19 + @ApiModelProperty(value = "创建时间")
  20 + private Date createTime;
  21 +
  22 + // 省略getter和setter方法
  23 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-品类信息管理")
  8 +public class AfmsBasicCategory {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "描述")
  17 + private String description;
  18 +
  19 + @ApiModelProperty(value = "创建时间")
  20 + private Date createTime;
  21 +
  22 + // 省略getter和setter方法
  23 +}
  24 +
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-客户信息管理")
  8 +public class AfmsBasicCustomer {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "客户名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "客户类型ID")
  17 + private Integer customerTypeId;
  18 +
  19 + @ApiModelProperty(value = "联系人")
  20 + private String contactPerson;
  21 +
  22 + @ApiModelProperty(value = "联系电话")
  23 + private String contactPhone;
  24 +
  25 + @ApiModelProperty(value = "联系地址")
  26 + private String contactAddress;
  27 +
  28 + @ApiModelProperty(value = "纳税人识别号")
  29 + private String taxpayerIdentificationNumber;
  30 +
  31 + @ApiModelProperty(value = "开户行")
  32 + private String bank;
  33 +
  34 + @ApiModelProperty(value = "用户名")
  35 + private String accountName;
  36 +
  37 + @ApiModelProperty(value = "账号")
  38 + private String accountNumber;
  39 +
  40 + @ApiModelProperty(value = "营业执照")
  41 + private String businessLicense;
  42 +
  43 + @ApiModelProperty(value = "创建时间")
  44 + private Date createTime;
  45 +
  46 + // 省略getter和setter方法
  47 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-客户类型信息管理")
  8 +public class AfmsBasicCustomerType {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "描述")
  17 + private String description;
  18 +
  19 + @ApiModelProperty(value = "创建时间")
  20 + private Date createTime;
  21 +
  22 + // 省略getter和setter方法
  23 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-饲料信息管理")
  8 +public class AfmsBasicFeed {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "饲料名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "品牌ID")
  17 + private Integer brandId;
  18 +
  19 + @ApiModelProperty(value = "品类ID")
  20 + private Integer categoryId;
  21 +
  22 + @ApiModelProperty(value = "规格单位(kg/包)")
  23 + private String specificationUnit;
  24 +
  25 + @ApiModelProperty(value = "供应商ID")
  26 + private Integer supplierId;
  27 +
  28 + @ApiModelProperty(value = "供应商")
  29 + private String supplier;
  30 +
  31 + @ApiModelProperty(value = "创建时间")
  32 + private Date createTime;
  33 +
  34 + // 省略getter和setter方法
  35 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-苗种信息管理")
  8 +public class AfmsBasicFry {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "苗种名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "养殖品种ID")
  17 + private Integer speciesId;
  18 +
  19 + @ApiModelProperty(value = "类别")
  20 + private String category;
  21 +
  22 + @ApiModelProperty(value = "数量单位")
  23 + private String quantityUnit;
  24 +
  25 + @ApiModelProperty(value = "规格单位")
  26 + private String specificationUnit;
  27 +
  28 + @ApiModelProperty(value = "供应商ID")
  29 + private Integer supplierId;
  30 +
  31 + @ApiModelProperty(value = "供应商")
  32 + private String supplier;
  33 +
  34 + @ApiModelProperty(value = "创建时间")
  35 + private Date createTime;
  36 +
  37 + // 省略getter和setter方法
  38 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-计量单位信息管理")
  8 +public class AfmsBasicMeasurementUnit {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "描述")
  17 + private String description;
  18 +
  19 + @ApiModelProperty(value = "创建时间")
  20 + private Date createTime;
  21 +
  22 + // 省略getter和setter方法
  23 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-塘口信息管理")
  8 +public class AfmsBasicPond {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "用户ID")
  14 + private Integer userId;
  15 +
  16 + @ApiModelProperty(value = "塘口名称")
  17 + private String name;
  18 +
  19 + @ApiModelProperty(value = "负责人")
  20 + private String personInCharge;
  21 +
  22 + @ApiModelProperty(value = "养殖品种ID集合(以英文逗号分割)")
  23 + private String speciesIds;
  24 +
  25 + @ApiModelProperty(value = "创建时间")
  26 + private Date createTime;
  27 +
  28 + // 省略getter和setter方法
  29 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-养殖品种管理")
  8 +public class AfmsBasicSpecies {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "品种名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "水体类型")
  17 + private String waterType;
  18 +
  19 + @ApiModelProperty(value = "重量单位")
  20 + private String weightUnit;
  21 +
  22 + @ApiModelProperty(value = "数量单位")
  23 + private String quantityUnit;
  24 +
  25 + @ApiModelProperty(value = "规格单位")
  26 + private String specificationUnit;
  27 +
  28 + @ApiModelProperty(value = "创建时间")
  29 + private Date createTime;
  30 +
  31 + // 省略getter和setter方法
  32 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-供应商信息管理")
  8 +public class AfmsBasicSupplier {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "供应商名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "供应商类型ID")
  17 + private Integer supplierTypeId;
  18 +
  19 + @ApiModelProperty(value = "联系人")
  20 + private String contactPerson;
  21 +
  22 + @ApiModelProperty(value = "联系电话")
  23 + private String contactPhone;
  24 +
  25 + @ApiModelProperty(value = "联系地址")
  26 + private String contactAddress;
  27 +
  28 + @ApiModelProperty(value = "纳税人识别号")
  29 + private String taxpayerIdentificationNumber;
  30 +
  31 + @ApiModelProperty(value = "开户行")
  32 + private String bank;
  33 +
  34 + @ApiModelProperty(value = "用户名")
  35 + private String accountName;
  36 +
  37 + @ApiModelProperty(value = "账号")
  38 + private String accountNumber;
  39 +
  40 + @ApiModelProperty(value = "营业执照")
  41 + private String businessLicense;
  42 +
  43 + @ApiModelProperty(value = "创建时间")
  44 + private Date createTime;
  45 +
  46 + // 省略getter和setter方法
  47 +}
  1 +package com.ruoyi.system.domain.afms;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +import java.util.Date;
  6 +
  7 +@ApiModel(description = "基础信息管理-供应商类型信息管理")
  8 +public class AfmsBasicSupplierType {
  9 +
  10 + @ApiModelProperty(value = "ID")
  11 + private Integer id;
  12 +
  13 + @ApiModelProperty(value = "名称")
  14 + private String name;
  15 +
  16 + @ApiModelProperty(value = "描述")
  17 + private String description;
  18 +
  19 + @ApiModelProperty(value = "创建时间")
  20 + private Date createTime;
  21 +
  22 + // 省略getter和setter方法
  23 +}
@@ -45,10 +45,10 @@ mqtt: @@ -45,10 +45,10 @@ mqtt:
45 clientId: ${random.uuid} 45 clientId: ${random.uuid}
46 #公司id 46 #公司id
47 roleid: 2 47 roleid: 2
48 - mqtt_usernames: 6_WP,12_BPQ 48 + mqtt_usernames: 6_WP
49 #订阅的topic 49 #订阅的topic
50 topics: ADD_POST,ALL_POST,DB_TOPIC_DISTRIBUTE,GET/+,online,PUT_REQ/+,READ_REQ/+ 50 topics: ADD_POST,ALL_POST,DB_TOPIC_DISTRIBUTE,GET/+,online,PUT_REQ/+,READ_REQ/+
51 - sub_clientid: '865328068125334' 51 + sub_clientid: '866569062386039'
52 topicconfig: "/{{roleid}}/{{username}}/{{clientid}}/{{payloadtype}}/{{topicType}}/{{messageid}}" 52 topicconfig: "/{{roleid}}/{{username}}/{{clientid}}/{{payloadtype}}/{{topicType}}/{{messageid}}"
53 top_return_map: '{"PUT":"PUT_REQ","READ":"READ_REQ"}' 53 top_return_map: '{"PUT":"PUT_REQ","READ":"READ_REQ"}'
54 username: sysuser 54 username: sysuser
@@ -23,6 +23,7 @@ @@ -23,6 +23,7 @@
23 <module>lh-log</module> 23 <module>lh-log</module>
24 <module>lh-quartz</module> 24 <module>lh-quartz</module>
25 <module>lh-chatgpt-api</module> 25 <module>lh-chatgpt-api</module>
  26 + <module>lh-afms</module>
26 </modules> 27 </modules>
27 28
28 <packaging>pom</packaging> 29 <packaging>pom</packaging>