Commit ec7a0a31 by xiaowei

修改了代码生成模块的报错,补充了业务微服务模块

parent 7372f5e4
spring:
datasource:
dynamic:
datasource:
master:
url: jdbc:dm://8.142.21.6:5236?schema=JZ_TEST
username: SYSDBA
password: Dameng1@34
driver-class-name: dm.jdbc.driver.DmDriver
redis:
host: localhost
port: 6379
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
mybatis:
mapper-locations: classpath*:mapper/**/*Mapper.xml
type-aliases-package: com.ruoyi.**.domain
pagehelper:
helper-dialect: dm
reasonable: true
support-methods-arguments: true
params: count=countSql
file:
prefix: /profile/upload
path: D:/profile/upload
domain: http://localhost:9300
referer:
enabled: false
allowed-domains: http://localhost
\ No newline at end of file
......@@ -27,9 +27,7 @@ spring:
- id: ruoyi-gen
uri: lb://ruoyi-gen
predicates:
- Path=/code/**
filters:
- StripPrefix=1
- Path=/gen/**
- id: ruoyi-job
uri: lb://ruoyi-job
predicates:
......@@ -42,6 +40,12 @@ spring:
- Path=/file/**
filters:
- StripPrefix=1
- id: ruoyi-busi
uri: lb://ruoyi-busi
predicates:
- Path=/busi/**
filters:
- StripPrefix=1
data:
redis:
host: localhost
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-modules</artifactId>
<version>3.6.8</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ruoyi-modules-busi</artifactId>
<description>
ruoyi-modules-busi矫正业务子模块
</description>
<dependencies>
<!-- SpringCloud Alibaba Nacos -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<!-- SpringCloud Alibaba Nacos Config -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
</dependency>
<!-- SpringCloud Alibaba Sentinel -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
<!-- SpringBoot Actuator -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- DM Connector -->
<dependency>
<groupId>com.dameng</groupId>
<artifactId>Dm8JdbcDriver18</artifactId>
</dependency>
<!-- RuoYi Common DataSource -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common-datasource</artifactId>
</dependency>
<!-- RuoYi Common DataScope -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common-datascope</artifactId>
</dependency>
<!-- RuoYi Common Log -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common-log</artifactId>
</dependency>
<!-- RuoYi Common Swagger -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common-swagger</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
package com.ruoyi.busi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
/**
* 矫正业务子模块
*
* @author ruoyi
*/
@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication
public class RuoYiBusiApplication
{
public static void main(String[] args)
{
SpringApplication.run(RuoYiBusiApplication.class, args);
System.out.println("(♥◠‿◠)ノ゙ 矫正业务子模块启动成功 ლ(´ڡ`ლ)゙ \n" +
" .-------. ____ __ \n" +
" | _ _ \\ \\ \\ / / \n" +
" | ( ' ) | \\ _. / ' \n" +
" |(_ o _) / _( )_ .' \n" +
" | (_,_).' __ ___(_ o _)' \n" +
" | |\\ \\ | || |(_,_)' \n" +
" | | \\ `' /| `-' / \n" +
" | | \\ / \\ / \n" +
" ''-' `'-' `-..-' ");
}
}
package com.ruoyi.busi.controller;
import java.util.List;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.log.annotation.Log;
import com.ruoyi.common.log.enums.BusinessType;
import com.ruoyi.common.security.annotation.RequiresPermissions;
import com.ruoyi.busi.domain.JzObject;
import com.ruoyi.busi.service.IJzObjectService;
import com.ruoyi.common.core.web.controller.BaseController;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.utils.poi.ExcelUtil;
import com.ruoyi.common.core.web.page.TableDataInfo;
/**
* 社区矫正对象基础信息(标准7)Controller
*
* @author ruoyi
* @date 2026-07-23
*/
@RestController
@RequestMapping("/OBJECT")
public class JzObjectController extends BaseController
{
@Autowired
private IJzObjectService jzObjectService;
/**
* 查询社区矫正对象基础信息(标准7)列表
*/
@RequiresPermissions("busi:OBJECT:list")
@GetMapping("/list")
public TableDataInfo list(JzObject jzObject)
{
startPage();
List<JzObject> list = jzObjectService.selectJzObjectList(jzObject);
return getDataTable(list);
}
/**
* 导出社区矫正对象基础信息(标准7)列表
*/
@RequiresPermissions("busi:OBJECT:export")
@Log(title = "社区矫正对象基础信息(标准7)", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JzObject jzObject)
{
List<JzObject> list = jzObjectService.selectJzObjectList(jzObject);
ExcelUtil<JzObject> util = new ExcelUtil<JzObject>(JzObject.class);
util.exportExcel(response, list, "社区矫正对象基础信息(标准7)数据");
}
/**
* 获取社区矫正对象基础信息(标准7)详细信息
*/
@RequiresPermissions("busi:OBJECT:query")
@GetMapping(value = "/{SQJZDXBH}")
public AjaxResult getInfo(@PathVariable("SQJZDXBH") String SQJZDXBH)
{
return success(jzObjectService.selectJzObjectBySQJZDXBH(SQJZDXBH));
}
/**
* 新增社区矫正对象基础信息(标准7)
*/
@RequiresPermissions("busi:OBJECT:add")
@Log(title = "社区矫正对象基础信息(标准7)", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JzObject jzObject)
{
return toAjax(jzObjectService.insertJzObject(jzObject));
}
/**
* 修改社区矫正对象基础信息(标准7)
*/
@RequiresPermissions("busi:OBJECT:edit")
@Log(title = "社区矫正对象基础信息(标准7)", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JzObject jzObject)
{
return toAjax(jzObjectService.updateJzObject(jzObject));
}
/**
* 删除社区矫正对象基础信息(标准7)
*/
@RequiresPermissions("busi:OBJECT:remove")
@Log(title = "社区矫正对象基础信息(标准7)", businessType = BusinessType.DELETE)
@DeleteMapping("/{SQJZDXBHs}")
public AjaxResult remove(@PathVariable String[] SQJZDXBHs)
{
return toAjax(jzObjectService.deleteJzObjectBySQJZDXBHs(SQJZDXBHs));
}
}
package com.ruoyi.busi.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
/**
* 社区矫正对象基础信息(标准7)对象 JZ_OBJECT
*
* @author ruoyi
* @date 2026-07-23
*/
public class JzObject extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private String SQJZDXBH;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JZJGBM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SWTSFSBM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFDCPG;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String DCPGYJ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String DCYJCXQK;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JZLB;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFCN;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String WCN;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String XM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String CYM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String XB;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String MZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GJ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HJLX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFZH;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String CSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YWGATSFZJ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GATSFZJLX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GATSFZJHM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YWHZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HZHM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HZBCZT;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YWGATXZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GATXZHM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GATXZBCZT;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YWTWTXZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String TWTXZHM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String TWTXZBCZT;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YWGAJMWLNDTXZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GAJMWLNDTXZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GAJMWLNDTXZBCZT;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YWTBZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String TBZHM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String TBZBCZT;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String ZYJWSTZK;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String ZHJZYY;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFYJSB;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JDJG;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFYCRB;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JTCRB;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String WHCD;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HYZK;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String BQZY;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JYJXQK;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String XZZMM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YZZMM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YGZDW;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String XGZDW;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String DWLXDH;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GRLXDH;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YWJTCYJZYSHGX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String ZP;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HJDSFYJZD;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GDJZDSZS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GDJZDSZDS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GDJZDSZXQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GDJZD;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GDJZDMX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HJSZS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HJSZDS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HJSZXQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HJSZD;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HJSZDMX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFSWRY;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SWRYLX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SQJZQX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SQJZKSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SQJZJSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String FZLX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String ZM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YPXF;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YPXQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YPXQKSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String YPXQJSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String GZQX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String HXKYQX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFSZBF;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String FJX;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFWD;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFWS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFYSS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFBXGJZL;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JZLNR;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JZLKSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JZLJSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SQJZDXJSRQ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SQJZDXJSFS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String BDQK;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String WASBDQKSM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFJLJZXZ;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JZXZRYZCQK;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFXXHHC;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String XXHHCFS;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String DWHM;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFSYDZDW;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFTG;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String JCQK;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String SFSC;
public void setSQJZDXBH(String SQJZDXBH)
{
this.SQJZDXBH = SQJZDXBH;
}
public String getSQJZDXBH()
{
return SQJZDXBH;
}
public void setJZJGBM(String JZJGBM)
{
this.JZJGBM = JZJGBM;
}
public String getJZJGBM()
{
return JZJGBM;
}
public void setSWTSFSBM(String SWTSFSBM)
{
this.SWTSFSBM = SWTSFSBM;
}
public String getSWTSFSBM()
{
return SWTSFSBM;
}
public void setSFDCPG(String SFDCPG)
{
this.SFDCPG = SFDCPG;
}
public String getSFDCPG()
{
return SFDCPG;
}
public void setDCPGYJ(String DCPGYJ)
{
this.DCPGYJ = DCPGYJ;
}
public String getDCPGYJ()
{
return DCPGYJ;
}
public void setDCYJCXQK(String DCYJCXQK)
{
this.DCYJCXQK = DCYJCXQK;
}
public String getDCYJCXQK()
{
return DCYJCXQK;
}
public void setJZLB(String JZLB)
{
this.JZLB = JZLB;
}
public String getJZLB()
{
return JZLB;
}
public void setSFCN(String SFCN)
{
this.SFCN = SFCN;
}
public String getSFCN()
{
return SFCN;
}
public void setWCN(String WCN)
{
this.WCN = WCN;
}
public String getWCN()
{
return WCN;
}
public void setXM(String XM)
{
this.XM = XM;
}
public String getXM()
{
return XM;
}
public void setCYM(String CYM)
{
this.CYM = CYM;
}
public String getCYM()
{
return CYM;
}
public void setXB(String XB)
{
this.XB = XB;
}
public String getXB()
{
return XB;
}
public void setMZ(String MZ)
{
this.MZ = MZ;
}
public String getMZ()
{
return MZ;
}
public void setGJ(String GJ)
{
this.GJ = GJ;
}
public String getGJ()
{
return GJ;
}
public void setHJLX(String HJLX)
{
this.HJLX = HJLX;
}
public String getHJLX()
{
return HJLX;
}
public void setSFZH(String SFZH)
{
this.SFZH = SFZH;
}
public String getSFZH()
{
return SFZH;
}
public void setCSRQ(String CSRQ)
{
this.CSRQ = CSRQ;
}
public String getCSRQ()
{
return CSRQ;
}
public void setYWGATSFZJ(String YWGATSFZJ)
{
this.YWGATSFZJ = YWGATSFZJ;
}
public String getYWGATSFZJ()
{
return YWGATSFZJ;
}
public void setGATSFZJLX(String GATSFZJLX)
{
this.GATSFZJLX = GATSFZJLX;
}
public String getGATSFZJLX()
{
return GATSFZJLX;
}
public void setGATSFZJHM(String GATSFZJHM)
{
this.GATSFZJHM = GATSFZJHM;
}
public String getGATSFZJHM()
{
return GATSFZJHM;
}
public void setYWHZ(String YWHZ)
{
this.YWHZ = YWHZ;
}
public String getYWHZ()
{
return YWHZ;
}
public void setHZHM(String HZHM)
{
this.HZHM = HZHM;
}
public String getHZHM()
{
return HZHM;
}
public void setHZBCZT(String HZBCZT)
{
this.HZBCZT = HZBCZT;
}
public String getHZBCZT()
{
return HZBCZT;
}
public void setYWGATXZ(String YWGATXZ)
{
this.YWGATXZ = YWGATXZ;
}
public String getYWGATXZ()
{
return YWGATXZ;
}
public void setGATXZHM(String GATXZHM)
{
this.GATXZHM = GATXZHM;
}
public String getGATXZHM()
{
return GATXZHM;
}
public void setGATXZBCZT(String GATXZBCZT)
{
this.GATXZBCZT = GATXZBCZT;
}
public String getGATXZBCZT()
{
return GATXZBCZT;
}
public void setYWTWTXZ(String YWTWTXZ)
{
this.YWTWTXZ = YWTWTXZ;
}
public String getYWTWTXZ()
{
return YWTWTXZ;
}
public void setTWTXZHM(String TWTXZHM)
{
this.TWTXZHM = TWTXZHM;
}
public String getTWTXZHM()
{
return TWTXZHM;
}
public void setTWTXZBCZT(String TWTXZBCZT)
{
this.TWTXZBCZT = TWTXZBCZT;
}
public String getTWTXZBCZT()
{
return TWTXZBCZT;
}
public void setYWGAJMWLNDTXZ(String YWGAJMWLNDTXZ)
{
this.YWGAJMWLNDTXZ = YWGAJMWLNDTXZ;
}
public String getYWGAJMWLNDTXZ()
{
return YWGAJMWLNDTXZ;
}
public void setGAJMWLNDTXZ(String GAJMWLNDTXZ)
{
this.GAJMWLNDTXZ = GAJMWLNDTXZ;
}
public String getGAJMWLNDTXZ()
{
return GAJMWLNDTXZ;
}
public void setGAJMWLNDTXZBCZT(String GAJMWLNDTXZBCZT)
{
this.GAJMWLNDTXZBCZT = GAJMWLNDTXZBCZT;
}
public String getGAJMWLNDTXZBCZT()
{
return GAJMWLNDTXZBCZT;
}
public void setYWTBZ(String YWTBZ)
{
this.YWTBZ = YWTBZ;
}
public String getYWTBZ()
{
return YWTBZ;
}
public void setTBZHM(String TBZHM)
{
this.TBZHM = TBZHM;
}
public String getTBZHM()
{
return TBZHM;
}
public void setTBZBCZT(String TBZBCZT)
{
this.TBZBCZT = TBZBCZT;
}
public String getTBZBCZT()
{
return TBZBCZT;
}
public void setZYJWSTZK(String ZYJWSTZK)
{
this.ZYJWSTZK = ZYJWSTZK;
}
public String getZYJWSTZK()
{
return ZYJWSTZK;
}
public void setZHJZYY(String ZHJZYY)
{
this.ZHJZYY = ZHJZYY;
}
public String getZHJZYY()
{
return ZHJZYY;
}
public void setSFYJSB(String SFYJSB)
{
this.SFYJSB = SFYJSB;
}
public String getSFYJSB()
{
return SFYJSB;
}
public void setJDJG(String JDJG)
{
this.JDJG = JDJG;
}
public String getJDJG()
{
return JDJG;
}
public void setSFYCRB(String SFYCRB)
{
this.SFYCRB = SFYCRB;
}
public String getSFYCRB()
{
return SFYCRB;
}
public void setJTCRB(String JTCRB)
{
this.JTCRB = JTCRB;
}
public String getJTCRB()
{
return JTCRB;
}
public void setWHCD(String WHCD)
{
this.WHCD = WHCD;
}
public String getWHCD()
{
return WHCD;
}
public void setHYZK(String HYZK)
{
this.HYZK = HYZK;
}
public String getHYZK()
{
return HYZK;
}
public void setBQZY(String BQZY)
{
this.BQZY = BQZY;
}
public String getBQZY()
{
return BQZY;
}
public void setJYJXQK(String JYJXQK)
{
this.JYJXQK = JYJXQK;
}
public String getJYJXQK()
{
return JYJXQK;
}
public void setXZZMM(String XZZMM)
{
this.XZZMM = XZZMM;
}
public String getXZZMM()
{
return XZZMM;
}
public void setYZZMM(String YZZMM)
{
this.YZZMM = YZZMM;
}
public String getYZZMM()
{
return YZZMM;
}
public void setYGZDW(String YGZDW)
{
this.YGZDW = YGZDW;
}
public String getYGZDW()
{
return YGZDW;
}
public void setXGZDW(String XGZDW)
{
this.XGZDW = XGZDW;
}
public String getXGZDW()
{
return XGZDW;
}
public void setDWLXDH(String DWLXDH)
{
this.DWLXDH = DWLXDH;
}
public String getDWLXDH()
{
return DWLXDH;
}
public void setGRLXDH(String GRLXDH)
{
this.GRLXDH = GRLXDH;
}
public String getGRLXDH()
{
return GRLXDH;
}
public void setYWJTCYJZYSHGX(String YWJTCYJZYSHGX)
{
this.YWJTCYJZYSHGX = YWJTCYJZYSHGX;
}
public String getYWJTCYJZYSHGX()
{
return YWJTCYJZYSHGX;
}
public void setZP(String ZP)
{
this.ZP = ZP;
}
public String getZP()
{
return ZP;
}
public void setHJDSFYJZD(String HJDSFYJZD)
{
this.HJDSFYJZD = HJDSFYJZD;
}
public String getHJDSFYJZD()
{
return HJDSFYJZD;
}
public void setGDJZDSZS(String GDJZDSZS)
{
this.GDJZDSZS = GDJZDSZS;
}
public String getGDJZDSZS()
{
return GDJZDSZS;
}
public void setGDJZDSZDS(String GDJZDSZDS)
{
this.GDJZDSZDS = GDJZDSZDS;
}
public String getGDJZDSZDS()
{
return GDJZDSZDS;
}
public void setGDJZDSZXQ(String GDJZDSZXQ)
{
this.GDJZDSZXQ = GDJZDSZXQ;
}
public String getGDJZDSZXQ()
{
return GDJZDSZXQ;
}
public void setGDJZD(String GDJZD)
{
this.GDJZD = GDJZD;
}
public String getGDJZD()
{
return GDJZD;
}
public void setGDJZDMX(String GDJZDMX)
{
this.GDJZDMX = GDJZDMX;
}
public String getGDJZDMX()
{
return GDJZDMX;
}
public void setHJSZS(String HJSZS)
{
this.HJSZS = HJSZS;
}
public String getHJSZS()
{
return HJSZS;
}
public void setHJSZDS(String HJSZDS)
{
this.HJSZDS = HJSZDS;
}
public String getHJSZDS()
{
return HJSZDS;
}
public void setHJSZXQ(String HJSZXQ)
{
this.HJSZXQ = HJSZXQ;
}
public String getHJSZXQ()
{
return HJSZXQ;
}
public void setHJSZD(String HJSZD)
{
this.HJSZD = HJSZD;
}
public String getHJSZD()
{
return HJSZD;
}
public void setHJSZDMX(String HJSZDMX)
{
this.HJSZDMX = HJSZDMX;
}
public String getHJSZDMX()
{
return HJSZDMX;
}
public void setSFSWRY(String SFSWRY)
{
this.SFSWRY = SFSWRY;
}
public String getSFSWRY()
{
return SFSWRY;
}
public void setSWRYLX(String SWRYLX)
{
this.SWRYLX = SWRYLX;
}
public String getSWRYLX()
{
return SWRYLX;
}
public void setSQJZQX(String SQJZQX)
{
this.SQJZQX = SQJZQX;
}
public String getSQJZQX()
{
return SQJZQX;
}
public void setSQJZKSRQ(String SQJZKSRQ)
{
this.SQJZKSRQ = SQJZKSRQ;
}
public String getSQJZKSRQ()
{
return SQJZKSRQ;
}
public void setSQJZJSRQ(String SQJZJSRQ)
{
this.SQJZJSRQ = SQJZJSRQ;
}
public String getSQJZJSRQ()
{
return SQJZJSRQ;
}
public void setFZLX(String FZLX)
{
this.FZLX = FZLX;
}
public String getFZLX()
{
return FZLX;
}
public void setZM(String ZM)
{
this.ZM = ZM;
}
public String getZM()
{
return ZM;
}
public void setYPXF(String YPXF)
{
this.YPXF = YPXF;
}
public String getYPXF()
{
return YPXF;
}
public void setYPXQ(String YPXQ)
{
this.YPXQ = YPXQ;
}
public String getYPXQ()
{
return YPXQ;
}
public void setYPXQKSRQ(String YPXQKSRQ)
{
this.YPXQKSRQ = YPXQKSRQ;
}
public String getYPXQKSRQ()
{
return YPXQKSRQ;
}
public void setYPXQJSRQ(String YPXQJSRQ)
{
this.YPXQJSRQ = YPXQJSRQ;
}
public String getYPXQJSRQ()
{
return YPXQJSRQ;
}
public void setGZQX(String GZQX)
{
this.GZQX = GZQX;
}
public String getGZQX()
{
return GZQX;
}
public void setHXKYQX(String HXKYQX)
{
this.HXKYQX = HXKYQX;
}
public String getHXKYQX()
{
return HXKYQX;
}
public void setSFSZBF(String SFSZBF)
{
this.SFSZBF = SFSZBF;
}
public String getSFSZBF()
{
return SFSZBF;
}
public void setFJX(String FJX)
{
this.FJX = FJX;
}
public String getFJX()
{
return FJX;
}
public void setSFWD(String SFWD)
{
this.SFWD = SFWD;
}
public String getSFWD()
{
return SFWD;
}
public void setSFWS(String SFWS)
{
this.SFWS = SFWS;
}
public String getSFWS()
{
return SFWS;
}
public void setSFYSS(String SFYSS)
{
this.SFYSS = SFYSS;
}
public String getSFYSS()
{
return SFYSS;
}
public void setSFBXGJZL(String SFBXGJZL)
{
this.SFBXGJZL = SFBXGJZL;
}
public String getSFBXGJZL()
{
return SFBXGJZL;
}
public void setJZLNR(String JZLNR)
{
this.JZLNR = JZLNR;
}
public String getJZLNR()
{
return JZLNR;
}
public void setJZLKSRQ(String JZLKSRQ)
{
this.JZLKSRQ = JZLKSRQ;
}
public String getJZLKSRQ()
{
return JZLKSRQ;
}
public void setJZLJSRQ(String JZLJSRQ)
{
this.JZLJSRQ = JZLJSRQ;
}
public String getJZLJSRQ()
{
return JZLJSRQ;
}
public void setSQJZDXJSRQ(String SQJZDXJSRQ)
{
this.SQJZDXJSRQ = SQJZDXJSRQ;
}
public String getSQJZDXJSRQ()
{
return SQJZDXJSRQ;
}
public void setSQJZDXJSFS(String SQJZDXJSFS)
{
this.SQJZDXJSFS = SQJZDXJSFS;
}
public String getSQJZDXJSFS()
{
return SQJZDXJSFS;
}
public void setBDQK(String BDQK)
{
this.BDQK = BDQK;
}
public String getBDQK()
{
return BDQK;
}
public void setWASBDQKSM(String WASBDQKSM)
{
this.WASBDQKSM = WASBDQKSM;
}
public String getWASBDQKSM()
{
return WASBDQKSM;
}
public void setSFJLJZXZ(String SFJLJZXZ)
{
this.SFJLJZXZ = SFJLJZXZ;
}
public String getSFJLJZXZ()
{
return SFJLJZXZ;
}
public void setJZXZRYZCQK(String JZXZRYZCQK)
{
this.JZXZRYZCQK = JZXZRYZCQK;
}
public String getJZXZRYZCQK()
{
return JZXZRYZCQK;
}
public void setSFXXHHC(String SFXXHHC)
{
this.SFXXHHC = SFXXHHC;
}
public String getSFXXHHC()
{
return SFXXHHC;
}
public void setXXHHCFS(String XXHHCFS)
{
this.XXHHCFS = XXHHCFS;
}
public String getXXHHCFS()
{
return XXHHCFS;
}
public void setDWHM(String DWHM)
{
this.DWHM = DWHM;
}
public String getDWHM()
{
return DWHM;
}
public void setSFSYDZDW(String SFSYDZDW)
{
this.SFSYDZDW = SFSYDZDW;
}
public String getSFSYDZDW()
{
return SFSYDZDW;
}
public void setSFTG(String SFTG)
{
this.SFTG = SFTG;
}
public String getSFTG()
{
return SFTG;
}
public void setJCQK(String JCQK)
{
this.JCQK = JCQK;
}
public String getJCQK()
{
return JCQK;
}
public void setSFSC(String SFSC)
{
this.SFSC = SFSC;
}
public String getSFSC()
{
return SFSC;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("SQJZDXBH", getSQJZDXBH())
.append("JZJGBM", getJZJGBM())
.append("SWTSFSBM", getSWTSFSBM())
.append("SFDCPG", getSFDCPG())
.append("DCPGYJ", getDCPGYJ())
.append("DCYJCXQK", getDCYJCXQK())
.append("JZLB", getJZLB())
.append("SFCN", getSFCN())
.append("WCN", getWCN())
.append("XM", getXM())
.append("CYM", getCYM())
.append("XB", getXB())
.append("MZ", getMZ())
.append("GJ", getGJ())
.append("HJLX", getHJLX())
.append("SFZH", getSFZH())
.append("CSRQ", getCSRQ())
.append("YWGATSFZJ", getYWGATSFZJ())
.append("GATSFZJLX", getGATSFZJLX())
.append("GATSFZJHM", getGATSFZJHM())
.append("YWHZ", getYWHZ())
.append("HZHM", getHZHM())
.append("HZBCZT", getHZBCZT())
.append("YWGATXZ", getYWGATXZ())
.append("GATXZHM", getGATXZHM())
.append("GATXZBCZT", getGATXZBCZT())
.append("YWTWTXZ", getYWTWTXZ())
.append("TWTXZHM", getTWTXZHM())
.append("TWTXZBCZT", getTWTXZBCZT())
.append("YWGAJMWLNDTXZ", getYWGAJMWLNDTXZ())
.append("GAJMWLNDTXZ", getGAJMWLNDTXZ())
.append("GAJMWLNDTXZBCZT", getGAJMWLNDTXZBCZT())
.append("YWTBZ", getYWTBZ())
.append("TBZHM", getTBZHM())
.append("TBZBCZT", getTBZBCZT())
.append("ZYJWSTZK", getZYJWSTZK())
.append("ZHJZYY", getZHJZYY())
.append("SFYJSB", getSFYJSB())
.append("JDJG", getJDJG())
.append("SFYCRB", getSFYCRB())
.append("JTCRB", getJTCRB())
.append("WHCD", getWHCD())
.append("HYZK", getHYZK())
.append("BQZY", getBQZY())
.append("JYJXQK", getJYJXQK())
.append("XZZMM", getXZZMM())
.append("YZZMM", getYZZMM())
.append("YGZDW", getYGZDW())
.append("XGZDW", getXGZDW())
.append("DWLXDH", getDWLXDH())
.append("GRLXDH", getGRLXDH())
.append("YWJTCYJZYSHGX", getYWJTCYJZYSHGX())
.append("ZP", getZP())
.append("HJDSFYJZD", getHJDSFYJZD())
.append("GDJZDSZS", getGDJZDSZS())
.append("GDJZDSZDS", getGDJZDSZDS())
.append("GDJZDSZXQ", getGDJZDSZXQ())
.append("GDJZD", getGDJZD())
.append("GDJZDMX", getGDJZDMX())
.append("HJSZS", getHJSZS())
.append("HJSZDS", getHJSZDS())
.append("HJSZXQ", getHJSZXQ())
.append("HJSZD", getHJSZD())
.append("HJSZDMX", getHJSZDMX())
.append("SFSWRY", getSFSWRY())
.append("SWRYLX", getSWRYLX())
.append("SQJZQX", getSQJZQX())
.append("SQJZKSRQ", getSQJZKSRQ())
.append("SQJZJSRQ", getSQJZJSRQ())
.append("FZLX", getFZLX())
.append("ZM", getZM())
.append("YPXF", getYPXF())
.append("YPXQ", getYPXQ())
.append("YPXQKSRQ", getYPXQKSRQ())
.append("YPXQJSRQ", getYPXQJSRQ())
.append("GZQX", getGZQX())
.append("HXKYQX", getHXKYQX())
.append("SFSZBF", getSFSZBF())
.append("FJX", getFJX())
.append("SFWD", getSFWD())
.append("SFWS", getSFWS())
.append("SFYSS", getSFYSS())
.append("SFBXGJZL", getSFBXGJZL())
.append("JZLNR", getJZLNR())
.append("JZLKSRQ", getJZLKSRQ())
.append("JZLJSRQ", getJZLJSRQ())
.append("SQJZDXJSRQ", getSQJZDXJSRQ())
.append("SQJZDXJSFS", getSQJZDXJSFS())
.append("BDQK", getBDQK())
.append("WASBDQKSM", getWASBDQKSM())
.append("SFJLJZXZ", getSFJLJZXZ())
.append("JZXZRYZCQK", getJZXZRYZCQK())
.append("SFXXHHC", getSFXXHHC())
.append("XXHHCFS", getXXHHCFS())
.append("DWHM", getDWHM())
.append("SFSYDZDW", getSFSYDZDW())
.append("SFTG", getSFTG())
.append("JCQK", getJCQK())
.append("SFSC", getSFSC())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.busi.domain.vo;
import com.ruoyi.common.core.utils.StringUtils;
/**
* 路由显示信息
*
* @author ruoyi
*/
public class MetaVo
{
/**
* 设置该路由在侧边栏和面包屑中展示的名字
*/
private String title;
/**
* 设置该路由的图标,对应路径src/assets/icons/svg
*/
private String icon;
/**
* 设置为true,则不会被 <keep-alive>缓存
*/
private boolean noCache;
/**
* 内链地址(http(s)://开头)
*/
private String link;
public MetaVo()
{
}
public MetaVo(String title, String icon)
{
this.title = title;
this.icon = icon;
}
public MetaVo(String title, String icon, boolean noCache)
{
this.title = title;
this.icon = icon;
this.noCache = noCache;
}
public MetaVo(String title, String icon, String link)
{
this.title = title;
this.icon = icon;
this.link = link;
}
public MetaVo(String title, String icon, boolean noCache, String link)
{
this.title = title;
this.icon = icon;
this.noCache = noCache;
if (StringUtils.ishttp(link))
{
this.link = link;
}
}
public boolean isNoCache()
{
return noCache;
}
public void setNoCache(boolean noCache)
{
this.noCache = noCache;
}
public String getTitle()
{
return title;
}
public void setTitle(String title)
{
this.title = title;
}
public String getIcon()
{
return icon;
}
public void setIcon(String icon)
{
this.icon = icon;
}
public String getLink()
{
return link;
}
public void setLink(String link)
{
this.link = link;
}
}
package com.ruoyi.busi.mapper;
import java.util.List;
import com.ruoyi.busi.domain.JzObject;
/**
* 社区矫正对象基础信息(标准7)Mapper接口
*
* @author ruoyi
* @date 2026-07-23
*/
public interface JzObjectMapper
{
/**
* 查询社区矫正对象基础信息(标准7)
*
* @param SQJZDXBH 社区矫正对象基础信息(标准7)主键
* @return 社区矫正对象基础信息(标准7)
*/
public JzObject selectJzObjectBySQJZDXBH(String SQJZDXBH);
/**
* 查询社区矫正对象基础信息(标准7)列表
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 社区矫正对象基础信息(标准7)集合
*/
public List<JzObject> selectJzObjectList(JzObject jzObject);
/**
* 新增社区矫正对象基础信息(标准7)
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 结果
*/
public int insertJzObject(JzObject jzObject);
/**
* 修改社区矫正对象基础信息(标准7)
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 结果
*/
public int updateJzObject(JzObject jzObject);
/**
* 删除社区矫正对象基础信息(标准7)
*
* @param SQJZDXBH 社区矫正对象基础信息(标准7)主键
* @return 结果
*/
public int deleteJzObjectBySQJZDXBH(String SQJZDXBH);
/**
* 批量删除社区矫正对象基础信息(标准7)
*
* @param SQJZDXBHs 需要删除的数据主键集合
* @return 结果
*/
public int deleteJzObjectBySQJZDXBHs(String[] SQJZDXBHs);
}
package com.ruoyi.busi.service;
import java.util.List;
import com.ruoyi.busi.domain.JzObject;
/**
* 社区矫正对象基础信息(标准7)Service接口
*
* @author ruoyi
* @date 2026-07-23
*/
public interface IJzObjectService
{
/**
* 查询社区矫正对象基础信息(标准7)
*
* @param SQJZDXBH 社区矫正对象基础信息(标准7)主键
* @return 社区矫正对象基础信息(标准7)
*/
public JzObject selectJzObjectBySQJZDXBH(String SQJZDXBH);
/**
* 查询社区矫正对象基础信息(标准7)列表
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 社区矫正对象基础信息(标准7)集合
*/
public List<JzObject> selectJzObjectList(JzObject jzObject);
/**
* 新增社区矫正对象基础信息(标准7)
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 结果
*/
public int insertJzObject(JzObject jzObject);
/**
* 修改社区矫正对象基础信息(标准7)
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 结果
*/
public int updateJzObject(JzObject jzObject);
/**
* 批量删除社区矫正对象基础信息(标准7)
*
* @param SQJZDXBHs 需要删除的社区矫正对象基础信息(标准7)主键集合
* @return 结果
*/
public int deleteJzObjectBySQJZDXBHs(String[] SQJZDXBHs);
/**
* 删除社区矫正对象基础信息(标准7)信息
*
* @param SQJZDXBH 社区矫正对象基础信息(标准7)主键
* @return 结果
*/
public int deleteJzObjectBySQJZDXBH(String SQJZDXBH);
}
package com.ruoyi.busi.service.impl;
import java.util.List;
import com.ruoyi.common.core.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.busi.mapper.JzObjectMapper;
import com.ruoyi.busi.domain.JzObject;
import com.ruoyi.busi.service.IJzObjectService;
/**
* 社区矫正对象基础信息(标准7)Service业务层处理
*
* @author ruoyi
* @date 2026-07-23
*/
@Service
public class JzObjectServiceImpl implements IJzObjectService
{
@Autowired
private JzObjectMapper jzObjectMapper;
/**
* 查询社区矫正对象基础信息(标准7)
*
* @param SQJZDXBH 社区矫正对象基础信息(标准7)主键
* @return 社区矫正对象基础信息(标准7)
*/
@Override
public JzObject selectJzObjectBySQJZDXBH(String SQJZDXBH)
{
return jzObjectMapper.selectJzObjectBySQJZDXBH(SQJZDXBH);
}
/**
* 查询社区矫正对象基础信息(标准7)列表
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 社区矫正对象基础信息(标准7)
*/
@Override
public List<JzObject> selectJzObjectList(JzObject jzObject)
{
return jzObjectMapper.selectJzObjectList(jzObject);
}
/**
* 新增社区矫正对象基础信息(标准7)
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 结果
*/
@Override
public int insertJzObject(JzObject jzObject)
{
jzObject.setCreateTime(DateUtils.getNowDate());
return jzObjectMapper.insertJzObject(jzObject);
}
/**
* 修改社区矫正对象基础信息(标准7)
*
* @param jzObject 社区矫正对象基础信息(标准7)
* @return 结果
*/
@Override
public int updateJzObject(JzObject jzObject)
{
jzObject.setUpdateTime(DateUtils.getNowDate());
return jzObjectMapper.updateJzObject(jzObject);
}
/**
* 批量删除社区矫正对象基础信息(标准7)
*
* @param SQJZDXBHs 需要删除的社区矫正对象基础信息(标准7)主键
* @return 结果
*/
@Override
public int deleteJzObjectBySQJZDXBHs(String[] SQJZDXBHs)
{
return jzObjectMapper.deleteJzObjectBySQJZDXBHs(SQJZDXBHs);
}
/**
* 删除社区矫正对象基础信息(标准7)信息
*
* @param SQJZDXBH 社区矫正对象基础信息(标准7)主键
* @return 结果
*/
@Override
public int deleteJzObjectBySQJZDXBH(String SQJZDXBH)
{
return jzObjectMapper.deleteJzObjectBySQJZDXBH(SQJZDXBH);
}
}
spring:
datasource:
dynamic:
datasource:
master:
url: jdbc:dm://8.142.21.6:5236?schema=JZ_TEST
username: SYSDBA
password: Dameng1@34
driver-class-name: dm.jdbc.driver.DmDriver
redis:
host: localhost
port: 6379
mybatis:
mapper-locations: classpath*:mapper/**/*Mapper.xml
type-aliases-package: com.ruoyi.**.domain
pagehelper:
helper-dialect: dm
reasonable: true
support-methods-arguments: true
params: count=countSql
Spring Boot Version: ${spring-boot.version}
Spring Application Name: ${spring.application.name}
智慧矫正业务服务
\ No newline at end of file
# Tomcat
server:
port: 9210
# Spring
spring:
application:
# 应用名称
name: ruoyi-busi
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
config:
# 配置文件格式
file-extension: yml
import:
- classpath:application-${spring.profiles.active}.${spring.config.file-extension}
- nacos:application-${spring.profiles.active}.${spring.config.file-extension}
- nacos:${spring.application.name}-${spring.profiles.active}.${spring.config.file-extension}
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- 日志存放路径 -->
<property name="log.path" value="logs/ruoyi-system" />
<!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
<!-- 控制台输出 -->
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
</appender>
<!-- 系统日志输出 -->
<appender name="file_info" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/info.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/info.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>60</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>INFO</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<appender name="file_error" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/error.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/error.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>60</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>ERROR</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- 系统模块日志级别控制 -->
<logger name="com.ruoyi" level="info" />
<!-- Spring日志级别控制 -->
<logger name="org.springframework" level="warn" />
<root level="info">
<appender-ref ref="console" />
</root>
<!--系统操作日志-->
<root level="info">
<appender-ref ref="file_info" />
<appender-ref ref="file_error" />
</root>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.busi.mapper.JzObjectMapper">
<resultMap type="JzObject" id="JzObjectResult">
<result property="SQJZDXBH" column="SQJZDXBH" />
<result property="JZJGBM" column="JZJGBM" />
<result property="SWTSFSBM" column="SWTSFSBM" />
<result property="SFDCPG" column="SFDCPG" />
<result property="DCPGYJ" column="DCPGYJ" />
<result property="DCYJCXQK" column="DCYJCXQK" />
<result property="JZLB" column="JZLB" />
<result property="SFCN" column="SFCN" />
<result property="WCN" column="WCN" />
<result property="XM" column="XM" />
<result property="CYM" column="CYM" />
<result property="XB" column="XB" />
<result property="MZ" column="MZ" />
<result property="GJ" column="GJ" />
<result property="HJLX" column="HJLX" />
<result property="SFZH" column="SFZH" />
<result property="CSRQ" column="CSRQ" />
<result property="YWGATSFZJ" column="YWGATSFZJ" />
<result property="GATSFZJLX" column="GATSFZJLX" />
<result property="GATSFZJHM" column="GATSFZJHM" />
<result property="YWHZ" column="YWHZ" />
<result property="HZHM" column="HZHM" />
<result property="HZBCZT" column="HZBCZT" />
<result property="YWGATXZ" column="YWGATXZ" />
<result property="GATXZHM" column="GATXZHM" />
<result property="GATXZBCZT" column="GATXZBCZT" />
<result property="YWTWTXZ" column="YWTWTXZ" />
<result property="TWTXZHM" column="TWTXZHM" />
<result property="TWTXZBCZT" column="TWTXZBCZT" />
<result property="YWGAJMWLNDTXZ" column="YWGAJMWLNDTXZ" />
<result property="GAJMWLNDTXZ" column="GAJMWLNDTXZ" />
<result property="GAJMWLNDTXZBCZT" column="GAJMWLNDTXZBCZT" />
<result property="YWTBZ" column="YWTBZ" />
<result property="TBZHM" column="TBZHM" />
<result property="TBZBCZT" column="TBZBCZT" />
<result property="ZYJWSTZK" column="ZYJWSTZK" />
<result property="ZHJZYY" column="ZHJZYY" />
<result property="SFYJSB" column="SFYJSB" />
<result property="JDJG" column="JDJG" />
<result property="SFYCRB" column="SFYCRB" />
<result property="JTCRB" column="JTCRB" />
<result property="WHCD" column="WHCD" />
<result property="HYZK" column="HYZK" />
<result property="BQZY" column="BQZY" />
<result property="JYJXQK" column="JYJXQK" />
<result property="XZZMM" column="XZZMM" />
<result property="YZZMM" column="YZZMM" />
<result property="YGZDW" column="YGZDW" />
<result property="XGZDW" column="XGZDW" />
<result property="DWLXDH" column="DWLXDH" />
<result property="GRLXDH" column="GRLXDH" />
<result property="YWJTCYJZYSHGX" column="YWJTCYJZYSHGX" />
<result property="ZP" column="ZP" />
<result property="HJDSFYJZD" column="HJDSFYJZD" />
<result property="GDJZDSZS" column="GDJZDSZS" />
<result property="GDJZDSZDS" column="GDJZDSZDS" />
<result property="GDJZDSZXQ" column="GDJZDSZXQ" />
<result property="GDJZD" column="GDJZD" />
<result property="GDJZDMX" column="GDJZDMX" />
<result property="HJSZS" column="HJSZS" />
<result property="HJSZDS" column="HJSZDS" />
<result property="HJSZXQ" column="HJSZXQ" />
<result property="HJSZD" column="HJSZD" />
<result property="HJSZDMX" column="HJSZDMX" />
<result property="SFSWRY" column="SFSWRY" />
<result property="SWRYLX" column="SWRYLX" />
<result property="SQJZQX" column="SQJZQX" />
<result property="SQJZKSRQ" column="SQJZKSRQ" />
<result property="SQJZJSRQ" column="SQJZJSRQ" />
<result property="FZLX" column="FZLX" />
<result property="ZM" column="ZM" />
<result property="YPXF" column="YPXF" />
<result property="YPXQ" column="YPXQ" />
<result property="YPXQKSRQ" column="YPXQKSRQ" />
<result property="YPXQJSRQ" column="YPXQJSRQ" />
<result property="GZQX" column="GZQX" />
<result property="HXKYQX" column="HXKYQX" />
<result property="SFSZBF" column="SFSZBF" />
<result property="FJX" column="FJX" />
<result property="SFWD" column="SFWD" />
<result property="SFWS" column="SFWS" />
<result property="SFYSS" column="SFYSS" />
<result property="SFBXGJZL" column="SFBXGJZL" />
<result property="JZLNR" column="JZLNR" />
<result property="JZLKSRQ" column="JZLKSRQ" />
<result property="JZLJSRQ" column="JZLJSRQ" />
<result property="SQJZDXJSRQ" column="SQJZDXJSRQ" />
<result property="SQJZDXJSFS" column="SQJZDXJSFS" />
<result property="BDQK" column="BDQK" />
<result property="WASBDQKSM" column="WASBDQKSM" />
<result property="SFJLJZXZ" column="SFJLJZXZ" />
<result property="JZXZRYZCQK" column="JZXZRYZCQK" />
<result property="SFXXHHC" column="SFXXHHC" />
<result property="XXHHCFS" column="XXHHCFS" />
<result property="DWHM" column="DWHM" />
<result property="SFSYDZDW" column="SFSYDZDW" />
<result property="SFTG" column="SFTG" />
<result property="JCQK" column="JCQK" />
<result property="SFSC" column="SFSC" />
<result property="createTime" column="CREATE_TIME" />
<result property="updateTime" column="UPDATE_TIME" />
</resultMap>
<sql id="selectJzObjectVo">
select SQJZDXBH, JZJGBM, SWTSFSBM, SFDCPG, DCPGYJ, DCYJCXQK, JZLB, SFCN, WCN, XM, CYM, XB, MZ, GJ, HJLX, SFZH, CSRQ, YWGATSFZJ, GATSFZJLX, GATSFZJHM, YWHZ, HZHM, HZBCZT, YWGATXZ, GATXZHM, GATXZBCZT, YWTWTXZ, TWTXZHM, TWTXZBCZT, YWGAJMWLNDTXZ, GAJMWLNDTXZ, GAJMWLNDTXZBCZT, YWTBZ, TBZHM, TBZBCZT, ZYJWSTZK, ZHJZYY, SFYJSB, JDJG, SFYCRB, JTCRB, WHCD, HYZK, BQZY, JYJXQK, XZZMM, YZZMM, YGZDW, XGZDW, DWLXDH, GRLXDH, YWJTCYJZYSHGX, ZP, HJDSFYJZD, GDJZDSZS, GDJZDSZDS, GDJZDSZXQ, GDJZD, GDJZDMX, HJSZS, HJSZDS, HJSZXQ, HJSZD, HJSZDMX, SFSWRY, SWRYLX, SQJZQX, SQJZKSRQ, SQJZJSRQ, FZLX, ZM, YPXF, YPXQ, YPXQKSRQ, YPXQJSRQ, GZQX, HXKYQX, SFSZBF, FJX, SFWD, SFWS, SFYSS, SFBXGJZL, JZLNR, JZLKSRQ, JZLJSRQ, SQJZDXJSRQ, SQJZDXJSFS, BDQK, WASBDQKSM, SFJLJZXZ, JZXZRYZCQK, SFXXHHC, XXHHCFS, DWHM, SFSYDZDW, SFTG, JCQK, SFSC, CREATE_TIME, UPDATE_TIME from JZ_OBJECT
</sql>
<select id="selectJzObjectList" parameterType="JzObject" resultMap="JzObjectResult">
<include refid="selectJzObjectVo"/>
<where>
<if test="JZJGBM != null and JZJGBM != ''"> and JZJGBM = #{JZJGBM}</if>
<if test="SWTSFSBM != null and SWTSFSBM != ''"> and SWTSFSBM = #{SWTSFSBM}</if>
<if test="SFDCPG != null and SFDCPG != ''"> and SFDCPG = #{SFDCPG}</if>
<if test="DCPGYJ != null and DCPGYJ != ''"> and DCPGYJ = #{DCPGYJ}</if>
<if test="DCYJCXQK != null and DCYJCXQK != ''"> and DCYJCXQK = #{DCYJCXQK}</if>
<if test="JZLB != null and JZLB != ''"> and JZLB = #{JZLB}</if>
<if test="SFCN != null and SFCN != ''"> and SFCN = #{SFCN}</if>
<if test="WCN != null and WCN != ''"> and WCN = #{WCN}</if>
<if test="XM != null and XM != ''"> and XM = #{XM}</if>
<if test="CYM != null and CYM != ''"> and CYM = #{CYM}</if>
<if test="XB != null and XB != ''"> and XB = #{XB}</if>
<if test="MZ != null and MZ != ''"> and MZ = #{MZ}</if>
<if test="GJ != null and GJ != ''"> and GJ = #{GJ}</if>
<if test="HJLX != null and HJLX != ''"> and HJLX = #{HJLX}</if>
<if test="SFZH != null and SFZH != ''"> and SFZH = #{SFZH}</if>
<if test="CSRQ != null and CSRQ != ''"> and CSRQ = #{CSRQ}</if>
<if test="YWGATSFZJ != null and YWGATSFZJ != ''"> and YWGATSFZJ = #{YWGATSFZJ}</if>
<if test="GATSFZJLX != null and GATSFZJLX != ''"> and GATSFZJLX = #{GATSFZJLX}</if>
<if test="GATSFZJHM != null and GATSFZJHM != ''"> and GATSFZJHM = #{GATSFZJHM}</if>
<if test="YWHZ != null and YWHZ != ''"> and YWHZ = #{YWHZ}</if>
<if test="HZHM != null and HZHM != ''"> and HZHM = #{HZHM}</if>
<if test="HZBCZT != null and HZBCZT != ''"> and HZBCZT = #{HZBCZT}</if>
<if test="YWGATXZ != null and YWGATXZ != ''"> and YWGATXZ = #{YWGATXZ}</if>
<if test="GATXZHM != null and GATXZHM != ''"> and GATXZHM = #{GATXZHM}</if>
<if test="GATXZBCZT != null and GATXZBCZT != ''"> and GATXZBCZT = #{GATXZBCZT}</if>
<if test="YWTWTXZ != null and YWTWTXZ != ''"> and YWTWTXZ = #{YWTWTXZ}</if>
<if test="TWTXZHM != null and TWTXZHM != ''"> and TWTXZHM = #{TWTXZHM}</if>
<if test="TWTXZBCZT != null and TWTXZBCZT != ''"> and TWTXZBCZT = #{TWTXZBCZT}</if>
<if test="YWGAJMWLNDTXZ != null and YWGAJMWLNDTXZ != ''"> and YWGAJMWLNDTXZ = #{YWGAJMWLNDTXZ}</if>
<if test="GAJMWLNDTXZ != null and GAJMWLNDTXZ != ''"> and GAJMWLNDTXZ = #{GAJMWLNDTXZ}</if>
<if test="GAJMWLNDTXZBCZT != null and GAJMWLNDTXZBCZT != ''"> and GAJMWLNDTXZBCZT = #{GAJMWLNDTXZBCZT}</if>
<if test="YWTBZ != null and YWTBZ != ''"> and YWTBZ = #{YWTBZ}</if>
<if test="TBZHM != null and TBZHM != ''"> and TBZHM = #{TBZHM}</if>
<if test="TBZBCZT != null and TBZBCZT != ''"> and TBZBCZT = #{TBZBCZT}</if>
<if test="ZYJWSTZK != null and ZYJWSTZK != ''"> and ZYJWSTZK = #{ZYJWSTZK}</if>
<if test="ZHJZYY != null and ZHJZYY != ''"> and ZHJZYY = #{ZHJZYY}</if>
<if test="SFYJSB != null and SFYJSB != ''"> and SFYJSB = #{SFYJSB}</if>
<if test="JDJG != null and JDJG != ''"> and JDJG = #{JDJG}</if>
<if test="SFYCRB != null and SFYCRB != ''"> and SFYCRB = #{SFYCRB}</if>
<if test="JTCRB != null and JTCRB != ''"> and JTCRB = #{JTCRB}</if>
<if test="WHCD != null and WHCD != ''"> and WHCD = #{WHCD}</if>
<if test="HYZK != null and HYZK != ''"> and HYZK = #{HYZK}</if>
<if test="BQZY != null and BQZY != ''"> and BQZY = #{BQZY}</if>
<if test="JYJXQK != null and JYJXQK != ''"> and JYJXQK = #{JYJXQK}</if>
<if test="XZZMM != null and XZZMM != ''"> and XZZMM = #{XZZMM}</if>
<if test="YZZMM != null and YZZMM != ''"> and YZZMM = #{YZZMM}</if>
<if test="YGZDW != null and YGZDW != ''"> and YGZDW = #{YGZDW}</if>
<if test="XGZDW != null and XGZDW != ''"> and XGZDW = #{XGZDW}</if>
<if test="DWLXDH != null and DWLXDH != ''"> and DWLXDH = #{DWLXDH}</if>
<if test="GRLXDH != null and GRLXDH != ''"> and GRLXDH = #{GRLXDH}</if>
<if test="YWJTCYJZYSHGX != null and YWJTCYJZYSHGX != ''"> and YWJTCYJZYSHGX = #{YWJTCYJZYSHGX}</if>
<if test="ZP != null and ZP != ''"> and ZP = #{ZP}</if>
<if test="HJDSFYJZD != null and HJDSFYJZD != ''"> and HJDSFYJZD = #{HJDSFYJZD}</if>
<if test="GDJZDSZS != null and GDJZDSZS != ''"> and GDJZDSZS = #{GDJZDSZS}</if>
<if test="GDJZDSZDS != null and GDJZDSZDS != ''"> and GDJZDSZDS = #{GDJZDSZDS}</if>
<if test="GDJZDSZXQ != null and GDJZDSZXQ != ''"> and GDJZDSZXQ = #{GDJZDSZXQ}</if>
<if test="GDJZD != null and GDJZD != ''"> and GDJZD = #{GDJZD}</if>
<if test="GDJZDMX != null and GDJZDMX != ''"> and GDJZDMX = #{GDJZDMX}</if>
<if test="HJSZS != null and HJSZS != ''"> and HJSZS = #{HJSZS}</if>
<if test="HJSZDS != null and HJSZDS != ''"> and HJSZDS = #{HJSZDS}</if>
<if test="HJSZXQ != null and HJSZXQ != ''"> and HJSZXQ = #{HJSZXQ}</if>
<if test="HJSZD != null and HJSZD != ''"> and HJSZD = #{HJSZD}</if>
<if test="HJSZDMX != null and HJSZDMX != ''"> and HJSZDMX = #{HJSZDMX}</if>
<if test="SFSWRY != null and SFSWRY != ''"> and SFSWRY = #{SFSWRY}</if>
<if test="SWRYLX != null and SWRYLX != ''"> and SWRYLX = #{SWRYLX}</if>
<if test="SQJZQX != null and SQJZQX != ''"> and SQJZQX = #{SQJZQX}</if>
<if test="SQJZKSRQ != null and SQJZKSRQ != ''"> and SQJZKSRQ = #{SQJZKSRQ}</if>
<if test="SQJZJSRQ != null and SQJZJSRQ != ''"> and SQJZJSRQ = #{SQJZJSRQ}</if>
<if test="FZLX != null and FZLX != ''"> and FZLX = #{FZLX}</if>
<if test="ZM != null and ZM != ''"> and ZM = #{ZM}</if>
<if test="YPXF != null and YPXF != ''"> and YPXF = #{YPXF}</if>
<if test="YPXQ != null and YPXQ != ''"> and YPXQ = #{YPXQ}</if>
<if test="YPXQKSRQ != null and YPXQKSRQ != ''"> and YPXQKSRQ = #{YPXQKSRQ}</if>
<if test="YPXQJSRQ != null and YPXQJSRQ != ''"> and YPXQJSRQ = #{YPXQJSRQ}</if>
<if test="GZQX != null and GZQX != ''"> and GZQX = #{GZQX}</if>
<if test="HXKYQX != null and HXKYQX != ''"> and HXKYQX = #{HXKYQX}</if>
<if test="SFSZBF != null and SFSZBF != ''"> and SFSZBF = #{SFSZBF}</if>
<if test="FJX != null and FJX != ''"> and FJX = #{FJX}</if>
<if test="SFWD != null and SFWD != ''"> and SFWD = #{SFWD}</if>
<if test="SFWS != null and SFWS != ''"> and SFWS = #{SFWS}</if>
<if test="SFYSS != null and SFYSS != ''"> and SFYSS = #{SFYSS}</if>
<if test="SFBXGJZL != null and SFBXGJZL != ''"> and SFBXGJZL = #{SFBXGJZL}</if>
<if test="JZLNR != null and JZLNR != ''"> and JZLNR = #{JZLNR}</if>
<if test="JZLKSRQ != null and JZLKSRQ != ''"> and JZLKSRQ = #{JZLKSRQ}</if>
<if test="JZLJSRQ != null and JZLJSRQ != ''"> and JZLJSRQ = #{JZLJSRQ}</if>
<if test="SQJZDXJSRQ != null and SQJZDXJSRQ != ''"> and SQJZDXJSRQ = #{SQJZDXJSRQ}</if>
<if test="SQJZDXJSFS != null and SQJZDXJSFS != ''"> and SQJZDXJSFS = #{SQJZDXJSFS}</if>
<if test="BDQK != null and BDQK != ''"> and BDQK = #{BDQK}</if>
<if test="WASBDQKSM != null and WASBDQKSM != ''"> and WASBDQKSM = #{WASBDQKSM}</if>
<if test="SFJLJZXZ != null and SFJLJZXZ != ''"> and SFJLJZXZ = #{SFJLJZXZ}</if>
<if test="JZXZRYZCQK != null and JZXZRYZCQK != ''"> and JZXZRYZCQK = #{JZXZRYZCQK}</if>
<if test="SFXXHHC != null and SFXXHHC != ''"> and SFXXHHC = #{SFXXHHC}</if>
<if test="XXHHCFS != null and XXHHCFS != ''"> and XXHHCFS = #{XXHHCFS}</if>
<if test="DWHM != null and DWHM != ''"> and DWHM = #{DWHM}</if>
<if test="SFSYDZDW != null and SFSYDZDW != ''"> and SFSYDZDW = #{SFSYDZDW}</if>
<if test="SFTG != null and SFTG != ''"> and SFTG = #{SFTG}</if>
<if test="JCQK != null and JCQK != ''"> and JCQK = #{JCQK}</if>
<if test="SFSC != null and SFSC != ''"> and SFSC = #{SFSC}</if>
<if test="createTime != null and createTime != ''"> and CREATE_TIME = #{createTime}</if>
<if test="updateTime != null and updateTime != ''"> and UPDATE_TIME = #{updateTime}</if>
</where>
</select>
<select id="selectJzObjectBySQJZDXBH" parameterType="String" resultMap="JzObjectResult">
<include refid="selectJzObjectVo"/>
where SQJZDXBH = #{SQJZDXBH}
</select>
<insert id="insertJzObject" parameterType="JzObject">
insert into JZ_OBJECT
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="SQJZDXBH != null">SQJZDXBH,</if>
<if test="JZJGBM != null">JZJGBM,</if>
<if test="SWTSFSBM != null">SWTSFSBM,</if>
<if test="SFDCPG != null">SFDCPG,</if>
<if test="DCPGYJ != null">DCPGYJ,</if>
<if test="DCYJCXQK != null">DCYJCXQK,</if>
<if test="JZLB != null">JZLB,</if>
<if test="SFCN != null">SFCN,</if>
<if test="WCN != null">WCN,</if>
<if test="XM != null">XM,</if>
<if test="CYM != null">CYM,</if>
<if test="XB != null">XB,</if>
<if test="MZ != null">MZ,</if>
<if test="GJ != null">GJ,</if>
<if test="HJLX != null">HJLX,</if>
<if test="SFZH != null">SFZH,</if>
<if test="CSRQ != null">CSRQ,</if>
<if test="YWGATSFZJ != null">YWGATSFZJ,</if>
<if test="GATSFZJLX != null">GATSFZJLX,</if>
<if test="GATSFZJHM != null">GATSFZJHM,</if>
<if test="YWHZ != null">YWHZ,</if>
<if test="HZHM != null">HZHM,</if>
<if test="HZBCZT != null">HZBCZT,</if>
<if test="YWGATXZ != null">YWGATXZ,</if>
<if test="GATXZHM != null">GATXZHM,</if>
<if test="GATXZBCZT != null">GATXZBCZT,</if>
<if test="YWTWTXZ != null">YWTWTXZ,</if>
<if test="TWTXZHM != null">TWTXZHM,</if>
<if test="TWTXZBCZT != null">TWTXZBCZT,</if>
<if test="YWGAJMWLNDTXZ != null">YWGAJMWLNDTXZ,</if>
<if test="GAJMWLNDTXZ != null">GAJMWLNDTXZ,</if>
<if test="GAJMWLNDTXZBCZT != null">GAJMWLNDTXZBCZT,</if>
<if test="YWTBZ != null">YWTBZ,</if>
<if test="TBZHM != null">TBZHM,</if>
<if test="TBZBCZT != null">TBZBCZT,</if>
<if test="ZYJWSTZK != null">ZYJWSTZK,</if>
<if test="ZHJZYY != null">ZHJZYY,</if>
<if test="SFYJSB != null">SFYJSB,</if>
<if test="JDJG != null">JDJG,</if>
<if test="SFYCRB != null">SFYCRB,</if>
<if test="JTCRB != null">JTCRB,</if>
<if test="WHCD != null">WHCD,</if>
<if test="HYZK != null">HYZK,</if>
<if test="BQZY != null">BQZY,</if>
<if test="JYJXQK != null">JYJXQK,</if>
<if test="XZZMM != null">XZZMM,</if>
<if test="YZZMM != null">YZZMM,</if>
<if test="YGZDW != null">YGZDW,</if>
<if test="XGZDW != null">XGZDW,</if>
<if test="DWLXDH != null">DWLXDH,</if>
<if test="GRLXDH != null">GRLXDH,</if>
<if test="YWJTCYJZYSHGX != null">YWJTCYJZYSHGX,</if>
<if test="ZP != null">ZP,</if>
<if test="HJDSFYJZD != null">HJDSFYJZD,</if>
<if test="GDJZDSZS != null">GDJZDSZS,</if>
<if test="GDJZDSZDS != null">GDJZDSZDS,</if>
<if test="GDJZDSZXQ != null">GDJZDSZXQ,</if>
<if test="GDJZD != null">GDJZD,</if>
<if test="GDJZDMX != null">GDJZDMX,</if>
<if test="HJSZS != null">HJSZS,</if>
<if test="HJSZDS != null">HJSZDS,</if>
<if test="HJSZXQ != null">HJSZXQ,</if>
<if test="HJSZD != null">HJSZD,</if>
<if test="HJSZDMX != null">HJSZDMX,</if>
<if test="SFSWRY != null">SFSWRY,</if>
<if test="SWRYLX != null">SWRYLX,</if>
<if test="SQJZQX != null">SQJZQX,</if>
<if test="SQJZKSRQ != null">SQJZKSRQ,</if>
<if test="SQJZJSRQ != null">SQJZJSRQ,</if>
<if test="FZLX != null">FZLX,</if>
<if test="ZM != null">ZM,</if>
<if test="YPXF != null">YPXF,</if>
<if test="YPXQ != null">YPXQ,</if>
<if test="YPXQKSRQ != null">YPXQKSRQ,</if>
<if test="YPXQJSRQ != null">YPXQJSRQ,</if>
<if test="GZQX != null">GZQX,</if>
<if test="HXKYQX != null">HXKYQX,</if>
<if test="SFSZBF != null">SFSZBF,</if>
<if test="FJX != null">FJX,</if>
<if test="SFWD != null">SFWD,</if>
<if test="SFWS != null">SFWS,</if>
<if test="SFYSS != null">SFYSS,</if>
<if test="SFBXGJZL != null">SFBXGJZL,</if>
<if test="JZLNR != null">JZLNR,</if>
<if test="JZLKSRQ != null">JZLKSRQ,</if>
<if test="JZLJSRQ != null">JZLJSRQ,</if>
<if test="SQJZDXJSRQ != null">SQJZDXJSRQ,</if>
<if test="SQJZDXJSFS != null">SQJZDXJSFS,</if>
<if test="BDQK != null">BDQK,</if>
<if test="WASBDQKSM != null">WASBDQKSM,</if>
<if test="SFJLJZXZ != null">SFJLJZXZ,</if>
<if test="JZXZRYZCQK != null">JZXZRYZCQK,</if>
<if test="SFXXHHC != null">SFXXHHC,</if>
<if test="XXHHCFS != null">XXHHCFS,</if>
<if test="DWHM != null">DWHM,</if>
<if test="SFSYDZDW != null">SFSYDZDW,</if>
<if test="SFTG != null">SFTG,</if>
<if test="JCQK != null">JCQK,</if>
<if test="SFSC != null">SFSC,</if>
<if test="createTime != null">CREATE_TIME,</if>
<if test="updateTime != null">UPDATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="SQJZDXBH != null">#{SQJZDXBH},</if>
<if test="JZJGBM != null">#{JZJGBM},</if>
<if test="SWTSFSBM != null">#{SWTSFSBM},</if>
<if test="SFDCPG != null">#{SFDCPG},</if>
<if test="DCPGYJ != null">#{DCPGYJ},</if>
<if test="DCYJCXQK != null">#{DCYJCXQK},</if>
<if test="JZLB != null">#{JZLB},</if>
<if test="SFCN != null">#{SFCN},</if>
<if test="WCN != null">#{WCN},</if>
<if test="XM != null">#{XM},</if>
<if test="CYM != null">#{CYM},</if>
<if test="XB != null">#{XB},</if>
<if test="MZ != null">#{MZ},</if>
<if test="GJ != null">#{GJ},</if>
<if test="HJLX != null">#{HJLX},</if>
<if test="SFZH != null">#{SFZH},</if>
<if test="CSRQ != null">#{CSRQ},</if>
<if test="YWGATSFZJ != null">#{YWGATSFZJ},</if>
<if test="GATSFZJLX != null">#{GATSFZJLX},</if>
<if test="GATSFZJHM != null">#{GATSFZJHM},</if>
<if test="YWHZ != null">#{YWHZ},</if>
<if test="HZHM != null">#{HZHM},</if>
<if test="HZBCZT != null">#{HZBCZT},</if>
<if test="YWGATXZ != null">#{YWGATXZ},</if>
<if test="GATXZHM != null">#{GATXZHM},</if>
<if test="GATXZBCZT != null">#{GATXZBCZT},</if>
<if test="YWTWTXZ != null">#{YWTWTXZ},</if>
<if test="TWTXZHM != null">#{TWTXZHM},</if>
<if test="TWTXZBCZT != null">#{TWTXZBCZT},</if>
<if test="YWGAJMWLNDTXZ != null">#{YWGAJMWLNDTXZ},</if>
<if test="GAJMWLNDTXZ != null">#{GAJMWLNDTXZ},</if>
<if test="GAJMWLNDTXZBCZT != null">#{GAJMWLNDTXZBCZT},</if>
<if test="YWTBZ != null">#{YWTBZ},</if>
<if test="TBZHM != null">#{TBZHM},</if>
<if test="TBZBCZT != null">#{TBZBCZT},</if>
<if test="ZYJWSTZK != null">#{ZYJWSTZK},</if>
<if test="ZHJZYY != null">#{ZHJZYY},</if>
<if test="SFYJSB != null">#{SFYJSB},</if>
<if test="JDJG != null">#{JDJG},</if>
<if test="SFYCRB != null">#{SFYCRB},</if>
<if test="JTCRB != null">#{JTCRB},</if>
<if test="WHCD != null">#{WHCD},</if>
<if test="HYZK != null">#{HYZK},</if>
<if test="BQZY != null">#{BQZY},</if>
<if test="JYJXQK != null">#{JYJXQK},</if>
<if test="XZZMM != null">#{XZZMM},</if>
<if test="YZZMM != null">#{YZZMM},</if>
<if test="YGZDW != null">#{YGZDW},</if>
<if test="XGZDW != null">#{XGZDW},</if>
<if test="DWLXDH != null">#{DWLXDH},</if>
<if test="GRLXDH != null">#{GRLXDH},</if>
<if test="YWJTCYJZYSHGX != null">#{YWJTCYJZYSHGX},</if>
<if test="ZP != null">#{ZP},</if>
<if test="HJDSFYJZD != null">#{HJDSFYJZD},</if>
<if test="GDJZDSZS != null">#{GDJZDSZS},</if>
<if test="GDJZDSZDS != null">#{GDJZDSZDS},</if>
<if test="GDJZDSZXQ != null">#{GDJZDSZXQ},</if>
<if test="GDJZD != null">#{GDJZD},</if>
<if test="GDJZDMX != null">#{GDJZDMX},</if>
<if test="HJSZS != null">#{HJSZS},</if>
<if test="HJSZDS != null">#{HJSZDS},</if>
<if test="HJSZXQ != null">#{HJSZXQ},</if>
<if test="HJSZD != null">#{HJSZD},</if>
<if test="HJSZDMX != null">#{HJSZDMX},</if>
<if test="SFSWRY != null">#{SFSWRY},</if>
<if test="SWRYLX != null">#{SWRYLX},</if>
<if test="SQJZQX != null">#{SQJZQX},</if>
<if test="SQJZKSRQ != null">#{SQJZKSRQ},</if>
<if test="SQJZJSRQ != null">#{SQJZJSRQ},</if>
<if test="FZLX != null">#{FZLX},</if>
<if test="ZM != null">#{ZM},</if>
<if test="YPXF != null">#{YPXF},</if>
<if test="YPXQ != null">#{YPXQ},</if>
<if test="YPXQKSRQ != null">#{YPXQKSRQ},</if>
<if test="YPXQJSRQ != null">#{YPXQJSRQ},</if>
<if test="GZQX != null">#{GZQX},</if>
<if test="HXKYQX != null">#{HXKYQX},</if>
<if test="SFSZBF != null">#{SFSZBF},</if>
<if test="FJX != null">#{FJX},</if>
<if test="SFWD != null">#{SFWD},</if>
<if test="SFWS != null">#{SFWS},</if>
<if test="SFYSS != null">#{SFYSS},</if>
<if test="SFBXGJZL != null">#{SFBXGJZL},</if>
<if test="JZLNR != null">#{JZLNR},</if>
<if test="JZLKSRQ != null">#{JZLKSRQ},</if>
<if test="JZLJSRQ != null">#{JZLJSRQ},</if>
<if test="SQJZDXJSRQ != null">#{SQJZDXJSRQ},</if>
<if test="SQJZDXJSFS != null">#{SQJZDXJSFS},</if>
<if test="BDQK != null">#{BDQK},</if>
<if test="WASBDQKSM != null">#{WASBDQKSM},</if>
<if test="SFJLJZXZ != null">#{SFJLJZXZ},</if>
<if test="JZXZRYZCQK != null">#{JZXZRYZCQK},</if>
<if test="SFXXHHC != null">#{SFXXHHC},</if>
<if test="XXHHCFS != null">#{XXHHCFS},</if>
<if test="DWHM != null">#{DWHM},</if>
<if test="SFSYDZDW != null">#{SFSYDZDW},</if>
<if test="SFTG != null">#{SFTG},</if>
<if test="JCQK != null">#{JCQK},</if>
<if test="SFSC != null">#{SFSC},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateJzObject" parameterType="JzObject">
update JZ_OBJECT
<trim prefix="SET" suffixOverrides=",">
<if test="JZJGBM != null">JZJGBM = #{JZJGBM},</if>
<if test="SWTSFSBM != null">SWTSFSBM = #{SWTSFSBM},</if>
<if test="SFDCPG != null">SFDCPG = #{SFDCPG},</if>
<if test="DCPGYJ != null">DCPGYJ = #{DCPGYJ},</if>
<if test="DCYJCXQK != null">DCYJCXQK = #{DCYJCXQK},</if>
<if test="JZLB != null">JZLB = #{JZLB},</if>
<if test="SFCN != null">SFCN = #{SFCN},</if>
<if test="WCN != null">WCN = #{WCN},</if>
<if test="XM != null">XM = #{XM},</if>
<if test="CYM != null">CYM = #{CYM},</if>
<if test="XB != null">XB = #{XB},</if>
<if test="MZ != null">MZ = #{MZ},</if>
<if test="GJ != null">GJ = #{GJ},</if>
<if test="HJLX != null">HJLX = #{HJLX},</if>
<if test="SFZH != null">SFZH = #{SFZH},</if>
<if test="CSRQ != null">CSRQ = #{CSRQ},</if>
<if test="YWGATSFZJ != null">YWGATSFZJ = #{YWGATSFZJ},</if>
<if test="GATSFZJLX != null">GATSFZJLX = #{GATSFZJLX},</if>
<if test="GATSFZJHM != null">GATSFZJHM = #{GATSFZJHM},</if>
<if test="YWHZ != null">YWHZ = #{YWHZ},</if>
<if test="HZHM != null">HZHM = #{HZHM},</if>
<if test="HZBCZT != null">HZBCZT = #{HZBCZT},</if>
<if test="YWGATXZ != null">YWGATXZ = #{YWGATXZ},</if>
<if test="GATXZHM != null">GATXZHM = #{GATXZHM},</if>
<if test="GATXZBCZT != null">GATXZBCZT = #{GATXZBCZT},</if>
<if test="YWTWTXZ != null">YWTWTXZ = #{YWTWTXZ},</if>
<if test="TWTXZHM != null">TWTXZHM = #{TWTXZHM},</if>
<if test="TWTXZBCZT != null">TWTXZBCZT = #{TWTXZBCZT},</if>
<if test="YWGAJMWLNDTXZ != null">YWGAJMWLNDTXZ = #{YWGAJMWLNDTXZ},</if>
<if test="GAJMWLNDTXZ != null">GAJMWLNDTXZ = #{GAJMWLNDTXZ},</if>
<if test="GAJMWLNDTXZBCZT != null">GAJMWLNDTXZBCZT = #{GAJMWLNDTXZBCZT},</if>
<if test="YWTBZ != null">YWTBZ = #{YWTBZ},</if>
<if test="TBZHM != null">TBZHM = #{TBZHM},</if>
<if test="TBZBCZT != null">TBZBCZT = #{TBZBCZT},</if>
<if test="ZYJWSTZK != null">ZYJWSTZK = #{ZYJWSTZK},</if>
<if test="ZHJZYY != null">ZHJZYY = #{ZHJZYY},</if>
<if test="SFYJSB != null">SFYJSB = #{SFYJSB},</if>
<if test="JDJG != null">JDJG = #{JDJG},</if>
<if test="SFYCRB != null">SFYCRB = #{SFYCRB},</if>
<if test="JTCRB != null">JTCRB = #{JTCRB},</if>
<if test="WHCD != null">WHCD = #{WHCD},</if>
<if test="HYZK != null">HYZK = #{HYZK},</if>
<if test="BQZY != null">BQZY = #{BQZY},</if>
<if test="JYJXQK != null">JYJXQK = #{JYJXQK},</if>
<if test="XZZMM != null">XZZMM = #{XZZMM},</if>
<if test="YZZMM != null">YZZMM = #{YZZMM},</if>
<if test="YGZDW != null">YGZDW = #{YGZDW},</if>
<if test="XGZDW != null">XGZDW = #{XGZDW},</if>
<if test="DWLXDH != null">DWLXDH = #{DWLXDH},</if>
<if test="GRLXDH != null">GRLXDH = #{GRLXDH},</if>
<if test="YWJTCYJZYSHGX != null">YWJTCYJZYSHGX = #{YWJTCYJZYSHGX},</if>
<if test="ZP != null">ZP = #{ZP},</if>
<if test="HJDSFYJZD != null">HJDSFYJZD = #{HJDSFYJZD},</if>
<if test="GDJZDSZS != null">GDJZDSZS = #{GDJZDSZS},</if>
<if test="GDJZDSZDS != null">GDJZDSZDS = #{GDJZDSZDS},</if>
<if test="GDJZDSZXQ != null">GDJZDSZXQ = #{GDJZDSZXQ},</if>
<if test="GDJZD != null">GDJZD = #{GDJZD},</if>
<if test="GDJZDMX != null">GDJZDMX = #{GDJZDMX},</if>
<if test="HJSZS != null">HJSZS = #{HJSZS},</if>
<if test="HJSZDS != null">HJSZDS = #{HJSZDS},</if>
<if test="HJSZXQ != null">HJSZXQ = #{HJSZXQ},</if>
<if test="HJSZD != null">HJSZD = #{HJSZD},</if>
<if test="HJSZDMX != null">HJSZDMX = #{HJSZDMX},</if>
<if test="SFSWRY != null">SFSWRY = #{SFSWRY},</if>
<if test="SWRYLX != null">SWRYLX = #{SWRYLX},</if>
<if test="SQJZQX != null">SQJZQX = #{SQJZQX},</if>
<if test="SQJZKSRQ != null">SQJZKSRQ = #{SQJZKSRQ},</if>
<if test="SQJZJSRQ != null">SQJZJSRQ = #{SQJZJSRQ},</if>
<if test="FZLX != null">FZLX = #{FZLX},</if>
<if test="ZM != null">ZM = #{ZM},</if>
<if test="YPXF != null">YPXF = #{YPXF},</if>
<if test="YPXQ != null">YPXQ = #{YPXQ},</if>
<if test="YPXQKSRQ != null">YPXQKSRQ = #{YPXQKSRQ},</if>
<if test="YPXQJSRQ != null">YPXQJSRQ = #{YPXQJSRQ},</if>
<if test="GZQX != null">GZQX = #{GZQX},</if>
<if test="HXKYQX != null">HXKYQX = #{HXKYQX},</if>
<if test="SFSZBF != null">SFSZBF = #{SFSZBF},</if>
<if test="FJX != null">FJX = #{FJX},</if>
<if test="SFWD != null">SFWD = #{SFWD},</if>
<if test="SFWS != null">SFWS = #{SFWS},</if>
<if test="SFYSS != null">SFYSS = #{SFYSS},</if>
<if test="SFBXGJZL != null">SFBXGJZL = #{SFBXGJZL},</if>
<if test="JZLNR != null">JZLNR = #{JZLNR},</if>
<if test="JZLKSRQ != null">JZLKSRQ = #{JZLKSRQ},</if>
<if test="JZLJSRQ != null">JZLJSRQ = #{JZLJSRQ},</if>
<if test="SQJZDXJSRQ != null">SQJZDXJSRQ = #{SQJZDXJSRQ},</if>
<if test="SQJZDXJSFS != null">SQJZDXJSFS = #{SQJZDXJSFS},</if>
<if test="BDQK != null">BDQK = #{BDQK},</if>
<if test="WASBDQKSM != null">WASBDQKSM = #{WASBDQKSM},</if>
<if test="SFJLJZXZ != null">SFJLJZXZ = #{SFJLJZXZ},</if>
<if test="JZXZRYZCQK != null">JZXZRYZCQK = #{JZXZRYZCQK},</if>
<if test="SFXXHHC != null">SFXXHHC = #{SFXXHHC},</if>
<if test="XXHHCFS != null">XXHHCFS = #{XXHHCFS},</if>
<if test="DWHM != null">DWHM = #{DWHM},</if>
<if test="SFSYDZDW != null">SFSYDZDW = #{SFSYDZDW},</if>
<if test="SFTG != null">SFTG = #{SFTG},</if>
<if test="JCQK != null">JCQK = #{JCQK},</if>
<if test="SFSC != null">SFSC = #{SFSC},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
</trim>
where SQJZDXBH = #{SQJZDXBH}
</update>
<delete id="deleteJzObjectBySQJZDXBH" parameterType="String">
delete from JZ_OBJECT where SQJZDXBH = #{SQJZDXBH}
</delete>
<delete id="deleteJzObjectBySQJZDXBHs" parameterType="String">
delete from JZ_OBJECT where SQJZDXBH in
<foreach item="SQJZDXBH" collection="array" open="(" separator="," close=")">
#{SQJZDXBH}
</foreach>
</delete>
</mapper>
\ No newline at end of file
package com.ruoyi.file.config;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
......@@ -12,26 +13,15 @@ import io.minio.MinioClient;
*/
@Configuration
@ConfigurationProperties(prefix = "minio")
@ConditionalOnProperty(value = "minio.enabled", havingValue = "true", matchIfMissing = false)
public class MinioConfig
{
/**
* 服务地址
*/
private String url;
/**
* 用户名
*/
private String accessKey;
/**
* 密码
*/
private String secretKey;
/**
* 存储桶名称
*/
private String bucketName;
public String getUrl()
......@@ -79,4 +69,4 @@ public class MinioConfig
{
return MinioClient.builder().endpoint(url).credentials(accessKey, secretKey).build();
}
}
}
\ No newline at end of file
......@@ -2,6 +2,7 @@ package com.ruoyi.file.service;
import java.io.InputStream;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import com.alibaba.nacos.common.utils.IoUtils;
......@@ -18,6 +19,7 @@ import io.minio.RemoveObjectArgs;
* @author ruoyi
*/
@Service
@ConditionalOnProperty(value = "minio.enabled", havingValue = "true", matchIfMissing = false)
public class MinioSysFileServiceImpl implements ISysFileService
{
@Autowired
......@@ -26,13 +28,6 @@ public class MinioSysFileServiceImpl implements ISysFileService
@Autowired
private MinioClient client;
/**
* Minio文件上传接口
*
* @param file 上传的文件
* @return 访问地址
* @throws Exception
*/
@Override
public String uploadFile(MultipartFile file) throws Exception
{
......@@ -60,12 +55,6 @@ public class MinioSysFileServiceImpl implements ISysFileService
}
}
/**
* Minio文件删除接口
*
* @param fileUrl 文件访问URL
* @throws Exception
*/
@Override
public void deleteFile(String fileUrl) throws Exception
{
......@@ -79,4 +68,4 @@ public class MinioSysFileServiceImpl implements ISysFileService
throw new RuntimeException("Minio Failed to delete file", e);
}
}
}
}
\ No newline at end of file
spring:
datasource:
dynamic:
datasource:
master:
url: jdbc:dm://8.142.21.6:5236?schema=JZ_TEST
username: SYSDBA
password: Dameng1@34
driver-class-name: dm.jdbc.driver.DmDriver
redis:
host: localhost
port: 6379
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
mybatis:
mapper-locations: classpath*:mapper/**/*Mapper.xml
type-aliases-package: com.ruoyi.**.domain
pagehelper:
helper-dialect: dm
reasonable: true
support-methods-arguments: true
params: count=countSql
file:
prefix: /profile/upload
path: D:/profile/upload
domain: http://localhost:9300
referer:
enabled: false
allowed-domains: http://localhost
minio:
enabled: false
\ No newline at end of file
......@@ -5,22 +5,16 @@ server:
# Spring
spring:
application:
# 应用名称
name: ruoyi-file
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
import-check:
enabled: false
config:
# 配置文件格式
file-extension: yml
import:
- nacos:application-${spring.profiles.active}.${spring.config.file-extension}
- nacos:${spring.application.name}-${spring.profiles.active}.${spring.config.file-extension}
file-extension: yml
\ No newline at end of file
......@@ -53,6 +53,12 @@
<artifactId>Dm8JdbcDriver18</artifactId>
</dependency>
<!-- RuoYi Common DataSource -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common-datasource</artifactId>
</dependency>
<!-- RuoYi Common Log -->
<dependency>
<groupId>com.ruoyi</groupId>
......
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
......@@ -41,15 +41,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectDbTableColumnsByName" parameterType="String" resultMap="GenTableColumnResult">
select t.column_name,
(case when (t.nullable = 'N' && t.constraint_type != 'P') then '1' else null end) as is_required,
(case when t.constraint_type = 'P' then '1' else '0' end) as is_pk,
(case when (t.nullable = 'N' and pk.constraint_type != 'P') then '1' else null end) as is_required,
(case when pk.constraint_type = 'P' then '1' else '0' end) as is_pk,
t.column_id as sort,
tc.comments as column_comment,
(case when t.identity_column = 'YES' then '1' else '0' end) as is_increment,
'0' as is_increment,
t.data_type || (case when t.data_type in ('VARCHAR', 'CHAR', 'DECIMAL', 'NUMBER') then '(' || t.data_length || ')' else '' end) as column_type
from user_tab_columns t
left join user_col_comments tc on t.table_name = tc.table_name and t.column_name = tc.column_name
left join (select table_name, column_name, constraint_type from user_cons_columns ucc join user_constraints uc on ucc.constraint_name = uc.constraint_name where uc.constraint_type = 'P') pk
left join (select ucc.table_name, ucc.column_name, uc.constraint_type from user_cons_columns ucc join user_constraints uc on ucc.constraint_name = uc.constraint_name where uc.constraint_type = 'P') pk
on t.table_name = pk.table_name and t.column_name = pk.column_name
where t.table_name = (#{tableName})
order by t.column_id
......
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
......@@ -78,9 +78,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectDbTableList" parameterType="GenTable" resultMap="GenTableResult">
select t.table_name, tc.comments as table_comment, t.created as create_time, t.last_ddl_time as update_time
select t.table_name, tc.comments as table_comment, u.created as create_time, u.last_ddl_time as update_time
from user_tables t
left join user_tab_comments tc on t.table_name = tc.table_name
left join user_objects u on t.table_name = u.object_name and u.object_type = 'TABLE'
WHERE t.table_name NOT LIKE 'QRTZ_%' AND t.table_name NOT LIKE 'GEN_%'
AND t.table_name NOT IN (select table_name from gen_table)
<if test="tableName != null and tableName != ''">
......@@ -89,19 +90,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="tableComment != null and tableComment != ''">
AND lower(tc.comments) like lower(concat('%', #{tableComment}, '%'))
</if>
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
AND to_char(t.created, 'yyyyMMdd') &gt;= to_char(#{params.beginTime}, 'yyyyMMdd')
<if test="params.beginTime != null and params.beginTime != ''">
AND to_char(u.created, 'yyyyMMdd') &gt;= to_char(#{params.beginTime}, 'yyyyMMdd')
</if>
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
AND to_char(t.created, 'yyyyMMdd') &lt;= to_char(#{params.endTime}, 'yyyyMMdd')
<if test="params.endTime != null and params.endTime != ''">
AND to_char(u.created, 'yyyyMMdd') &lt;= to_char(#{params.endTime}, 'yyyyMMdd')
</if>
order by t.created desc
order by u.created desc
</select>
<select id="selectDbTableListByNames" resultMap="GenTableResult">
select t.table_name, tc.comments as table_comment, t.created as create_time, t.last_ddl_time as update_time
select t.table_name, tc.comments as table_comment, u.created as create_time, u.last_ddl_time as update_time
from user_tables t
left join user_tab_comments tc on t.table_name = tc.table_name
left join user_objects u on t.table_name = u.object_name and u.object_type = 'TABLE'
where t.table_name NOT LIKE 'QRTZ_%' and t.table_name NOT LIKE 'GEN_%'
and t.table_name in
<foreach collection="array" item="name" open="(" separator="," close=")">
......@@ -110,9 +112,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectTableByName" parameterType="String" resultMap="GenTableResult">
select t.table_name, tc.comments as table_comment, t.created as create_time, t.last_ddl_time as update_time
select t.table_name, tc.comments as table_comment, u.created as create_time, u.last_ddl_time as update_time
from user_tables t
left join user_tab_comments tc on t.table_name = tc.table_name
left join user_objects u on t.table_name = u.object_name and u.object_type = 'TABLE'
where tc.comments <![CDATA[ <> ]]> ''
and t.table_name = #{tableName}
</select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论