parent
48a4ea62c4
commit
d4aebb1cd0
89 changed files with 1 additions and 1992 deletions
@ -1,15 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8100 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.dev.url} |
||||
username: ${blade.datasource.dev.username} |
||||
password: ${blade.datasource.dev.password} |
||||
|
||||
#第三方登陆 |
||||
social: |
||||
enabled: true |
||||
domain: http://127.0.0.1:2888 |
||||
@ -1,15 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8100 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
|
||||
#第三方登陆 |
||||
social: |
||||
enabled: true |
||||
domain: http://127.0.0.1:2888 |
||||
@ -1,15 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8100 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
|
||||
#第三方登陆 |
||||
social: |
||||
enabled: true |
||||
domain: http://127.0.0.1:2888 |
||||
@ -1,65 +0,0 @@ |
||||
# 在使用Spring默认数据源Hikari的情况下配置以下配置项 |
||||
spring: |
||||
datasource: |
||||
hikari: |
||||
# 自动提交从池中返回的连接 |
||||
auto-commit: true |
||||
# 连接池中维护的最小空闲连接数 |
||||
minimum-idle: 10 |
||||
# 连接池中允许的最大连接数。缺省值:10;推荐的公式:((core_count * 2) + effective_spindle_count) |
||||
maximum-pool-size: 60 |
||||
# 空闲连接超时时间,默认值600000(10分钟),大于等于max-lifetime且max-lifetime>0,会被重置为0;不等于0且小于10秒,会被重置为10秒。 |
||||
# 只有空闲连接数大于最大连接数且空闲时间超过该值,才会被释放 |
||||
idle-timeout: 30000 |
||||
# 连接最大存活时间.不等于0且小于30秒,会被重置为默认值30分钟.设置应该比mysql设置的超时时间短 |
||||
max-lifetime: 1800000 |
||||
# 等待连接池分配连接的最大时长(毫秒),超过这个时长还没可用的连接则发生SQLException, 缺省:30秒 |
||||
connection-timeout: 30000 |
||||
# 连接测试查询 |
||||
connection-test-query: select 1 |
||||
#connection-test-query: select 1 from dual |
||||
freemarker: |
||||
# 模板后缀名 |
||||
suffix: .ftl |
||||
# 文档类型 |
||||
content-type: text/html |
||||
# 页面编码 |
||||
charset: UTF-8 |
||||
# 页面缓存 |
||||
cache: false |
||||
# 模板路径 |
||||
template-loader-path: classpath:/templates/ |
||||
web: |
||||
# 资源路径 |
||||
resources: |
||||
static-locations: classpath:/static/ |
||||
|
||||
#swagger文档 |
||||
swagger: |
||||
base-packages: |
||||
- org.springblade |
||||
- org.springframework.security.oauth2.provider.endpoint |
||||
|
||||
#第三方登陆 |
||||
social: |
||||
oauth: |
||||
GITHUB: |
||||
client-id: 233************ |
||||
client-secret: 233************************************ |
||||
redirect-uri: ${social.domain}/oauth/redirect/github |
||||
GITEE: |
||||
client-id: 233************ |
||||
client-secret: 233************************************ |
||||
redirect-uri: ${social.domain}/oauth/redirect/gitee |
||||
WECHAT_OPEN: |
||||
client-id: 233************ |
||||
client-secret: 233************************************ |
||||
redirect-uri: ${social.domain}/oauth/redirect/wechat |
||||
QQ: |
||||
client-id: 233************ |
||||
client-secret: 233************************************ |
||||
redirect-uri: ${social.domain}/oauth/redirect/qq |
||||
DINGTALK: |
||||
client-id: 233************ |
||||
client-secret: 233************************************ |
||||
redirect-uri: ${social.domain}/oauth/redirect/dingtalk |
||||
@ -1 +0,0 @@ |
||||
org.springblade.common.launch.LauncherServiceImpl |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-common=/blade-common[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
org.springblade.common.config.BladeCommonConfiguration |
||||
@ -1,8 +0,0 @@ |
||||
${AnsiColor.BLUE} ______ _ _ ___ ___ |
||||
${AnsiColor.BLUE} | ___ \| | | | \ \ / / |
||||
${AnsiColor.BLUE} | |_/ /| | __ _ __| | ___ \ V / |
||||
${AnsiColor.BLUE} | ___ \| | / _` | / _` | / _ \ > < |
||||
${AnsiColor.BLUE} | |_/ /| || (_| || (_| || __/ / . \ |
||||
${AnsiColor.BLUE} \____/ |_| \__,_| \__,_| \___|/__/ \__\ |
||||
|
||||
${AnsiColor.BLUE}:: BladeX ${blade.service.version} :: ${spring.application.name}:${AnsiColor.RED}${blade.env}${AnsiColor.BLUE} :: Running SpringBoot ${spring-boot.version} :: ${AnsiColor.BRIGHT_BLACK} |
||||
@ -1,11 +0,0 @@ |
||||
blade: |
||||
#多团队协作服务配置 |
||||
loadbalancer: |
||||
#开启配置 |
||||
enabled: true |
||||
#灰度版本 |
||||
#version: 3.0.0 |
||||
#负载均衡优先调用的ip段 |
||||
prior-ip-pattern: |
||||
- 192.168.0.* |
||||
- 127.0.0.1 |
||||
@ -1,16 +0,0 @@ |
||||
knife4j: |
||||
gateway: |
||||
enabled: true |
||||
tags-sorter: order |
||||
operations-sorter: order |
||||
# 指定服务发现的模式聚合微服务文档,并且是默认`default`分组 |
||||
strategy: discover |
||||
discover: |
||||
enabled: true |
||||
# 指定版本号(Swagger2|OpenAPI3) |
||||
version : openapi3 |
||||
# 需要排除的微服务(eg:网关服务) |
||||
excluded-services: |
||||
- blade-admin |
||||
- blade-gateway |
||||
- blade-log |
||||
@ -1,12 +0,0 @@ |
||||
server: |
||||
port: 80 |
||||
|
||||
spring: |
||||
cloud: |
||||
gateway: |
||||
discovery: |
||||
locator: |
||||
enabled: true |
||||
loadbalancer: |
||||
retry: |
||||
enabled: true |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-develop-api=/blade-develop-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
org.springblade.develop.feign.IDatasourceClientFallback |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-flow-api=/blade-flow-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
org.springblade.flow.core.feign.IFlowClientFallback |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-resource-api=/blade-resource-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
org.springblade.resource.feign.ISmsClientFallback |
||||
@ -1,48 +0,0 @@ |
||||
server: |
||||
port: 7002 |
||||
undertow: |
||||
threads: |
||||
# 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程 |
||||
io: 16 |
||||
# 阻塞任务线程池, 当执行类似servlet请求阻塞操作, undertow会从这个线程池中取得线程,它的值设置取决于系统的负载 |
||||
worker: 400 |
||||
# 以下的配置会影响buffer,这些buffer会用于服务器连接的IO操作,有点类似netty的池化内存管理 |
||||
buffer-size: 1024 |
||||
# 是否分配的直接内存 |
||||
direct-buffers: true |
||||
|
||||
spring: |
||||
boot: |
||||
admin: |
||||
# 忽略服务名 |
||||
discovery: |
||||
ignored-services: |
||||
- consul |
||||
- serverAddr |
||||
# 自定义UI界面 |
||||
ui: |
||||
title: BladeX Monitor |
||||
external-views: |
||||
- label: 架构官网 |
||||
url: https://bladex.cn/ |
||||
order: 1 |
||||
iframe: true |
||||
# 用于内网安全,判断 admin proxy |
||||
instance-proxy: |
||||
ignored-headers: "X-Forwarded-For" |
||||
# 自定义登录用户名密码 |
||||
security: |
||||
user: |
||||
name: blade |
||||
password: blade |
||||
|
||||
# 监控的相关配置 |
||||
monitor: |
||||
ding-talk: |
||||
enabled: false |
||||
# 用于自定义域名,默认会自动填充为 http://ip:port |
||||
link: http://localhost:${server.port} |
||||
# 钉钉配置的令牌 |
||||
access-token: xxx |
||||
# 如果采用密钥形式,需要添加,否则需要去掉该参数 |
||||
secret: |
||||
@ -1,10 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 7007 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.dev.url} |
||||
username: ${blade.datasource.dev.username} |
||||
password: ${blade.datasource.dev.password} |
||||
@ -1,11 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 7007 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
|
||||
@ -1,10 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 7007 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
@ -1,23 +0,0 @@ |
||||
<?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="org.springblade.develop.mapper.CodeMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="codeResultMap" type="org.springblade.develop.pojo.entity.Code"> |
||||
<id column="id" property="id"/> |
||||
<result column="model_id" property="modelId"/> |
||||
<result column="menu_id" property="menuId"/> |
||||
<result column="service_name" property="serviceName"/> |
||||
<result column="code_name" property="codeName"/> |
||||
<result column="table_name" property="tableName"/> |
||||
<result column="pk_name" property="pkName"/> |
||||
<result column="base_mode" property="baseMode"/> |
||||
<result column="wrap_mode" property="wrapMode"/> |
||||
<result column="table_prefix" property="tablePrefix"/> |
||||
<result column="package_name" property="packageName"/> |
||||
<result column="api_path" property="apiPath"/> |
||||
<result column="web_path" property="webPath"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
</mapper> |
||||
@ -1,16 +0,0 @@ |
||||
<?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="org.springblade.develop.mapper.CodeSettingMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="codeSettingResultMap" type="org.springblade.develop.pojo.entity.CodeSetting"> |
||||
<result column="id" property="id"/> |
||||
<result column="name" property="name"/> |
||||
<result column="code" property="code"/> |
||||
<result column="category" property="category"/> |
||||
<result column="settings" property="settings"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
</mapper> |
||||
@ -1,22 +0,0 @@ |
||||
<?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="org.springblade.develop.mapper.DatasourceMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="datasourceResultMap" type="org.springblade.develop.pojo.entity.Datasource"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_dept" property="createDept"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="driver_class" property="driverClass"/> |
||||
<result column="url" property="url"/> |
||||
<result column="username" property="username"/> |
||||
<result column="password" property="password"/> |
||||
<result column="remark" property="remark"/> |
||||
</resultMap> |
||||
|
||||
</mapper> |
||||
@ -1,27 +0,0 @@ |
||||
<?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="org.springblade.develop.mapper.ModelMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="modelResultMap" type="org.springblade.develop.pojo.entity.Model"> |
||||
<id column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="datasource_id" property="datasourceId"/> |
||||
<result column="model_name" property="modelName"/> |
||||
<result column="model_code" property="modelCode"/> |
||||
<result column="model_table" property="modelTable"/> |
||||
<result column="model_class" property="modelClass"/> |
||||
<result column="model_remark" property="modelRemark"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectModelPage" resultMap="modelResultMap"> |
||||
select * from blade_model where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,35 +0,0 @@ |
||||
<?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="org.springblade.develop.mapper.ModelPrototypeMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="modelPrototypeResultMap" type="org.springblade.develop.pojo.entity.ModelPrototype"> |
||||
<id column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="jdbc_name" property="jdbcName"/> |
||||
<result column="jdbc_type" property="jdbcType"/> |
||||
<result column="jdbc_comment" property="jdbcComment"/> |
||||
<result column="property_type" property="propertyType"/> |
||||
<result column="property_entity" property="propertyEntity"/> |
||||
<result column="property_name" property="propertyName"/> |
||||
<result column="is_form" property="isForm"/> |
||||
<result column="is_row" property="isRow"/> |
||||
<result column="component_type" property="componentType"/> |
||||
<result column="dict_code" property="dictCode"/> |
||||
<result column="is_required" property="isRequired"/> |
||||
<result column="is_list" property="isList"/> |
||||
<result column="is_query" property="isQuery"/> |
||||
<result column="query_type" property="queryType"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectModelPrototypePage" resultMap="modelPrototypeResultMap"> |
||||
select * from blade_model_prototype where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,5 +0,0 @@ |
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver |
||||
spring.datasource.url=jdbc:mysql://localhost:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true |
||||
spring.datasource.username=root |
||||
spring.datasource.password=root |
||||
author=BladeX |
||||
@ -1,18 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 7770 |
||||
|
||||
#job服务配置 |
||||
powerjob: |
||||
worker: |
||||
app-name: ${spring.application.name} |
||||
port: 27777 |
||||
server-address: 127.0.0.1:7700 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
|
||||
@ -1,17 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 7770 |
||||
|
||||
#job服务配置 |
||||
powerjob: |
||||
worker: |
||||
app-name: ${spring.application.name} |
||||
port: 27777 |
||||
server-address: 127.0.0.1:7700 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
@ -1,52 +0,0 @@ |
||||
<?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="org.springblade.job.mapper.JobInfoMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="jobInfoResultMap" type="org.springblade.job.pojo.entity.JobInfo"> |
||||
<result column="id" property="id"/> |
||||
<result column="job_server_id" property="jobServerId"/> |
||||
<result column="job_id" property="jobId"/> |
||||
<result column="job_name" property="jobName"/> |
||||
<result column="job_description" property="jobDescription"/> |
||||
<result column="job_params" property="jobParams"/> |
||||
<result column="time_expression_type" property="timeExpressionType"/> |
||||
<result column="time_expression" property="timeExpression"/> |
||||
<result column="execute_type" property="executeType"/> |
||||
<result column="processor_type" property="processorType"/> |
||||
<result column="processor_info" property="processorInfo"/> |
||||
<result column="max_instance_num" property="maxInstanceNum"/> |
||||
<result column="concurrency" property="concurrency"/> |
||||
<result column="instance_time_limit" property="instanceTimeLimit"/> |
||||
<result column="instance_retry_num" property="instanceRetryNum"/> |
||||
<result column="task_retry_num" property="taskRetryNum"/> |
||||
<result column="min_cpu_cores" property="minCpuCores"/> |
||||
<result column="min_memory_space" property="minMemorySpace"/> |
||||
<result column="min_disk_space" property="minDiskSpace"/> |
||||
<result column="designated_workers" property="designatedWorkers"/> |
||||
<result column="max_worker_count" property="maxWorkerCount"/> |
||||
<result column="notify_user_ids" property="notifyUserIds"/> |
||||
<result column="enable" property="enable"/> |
||||
<result column="dispatch_strategy" property="dispatchStrategy"/> |
||||
<result column="lifecycle" property="lifecycle"/> |
||||
<result column="alert_threshold" property="alertThreshold"/> |
||||
<result column="statistic_window_len" property="statisticWindowLen"/> |
||||
<result column="silence_window_len" property="silenceWindowLen"/> |
||||
<result column="log_type" property="logType"/> |
||||
<result column="log_level" property="logLevel"/> |
||||
<result column="extra" property="extra"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_dept" property="createDept"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectJobInfoPage" resultMap="jobInfoResultMap"> |
||||
select * from blade_job_info where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,27 +0,0 @@ |
||||
<?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="org.springblade.job.mapper.JobServerMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="jobServerResultMap" type="org.springblade.job.pojo.entity.JobServer"> |
||||
<result column="id" property="id"/> |
||||
<result column="job_server_name" property="jobServerName"/> |
||||
<result column="job_server_url" property="jobServerUrl"/> |
||||
<result column="job_app_name" property="jobAppName"/> |
||||
<result column="job_app_password" property="jobAppPassword"/> |
||||
<result column="job_remark" property="jobRemark"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_dept" property="createDept"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectJobServerPage" resultMap="jobServerResultMap"> |
||||
select * from blade_job_server where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,10 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8103 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.dev.url} |
||||
username: ${blade.datasource.dev.username} |
||||
password: ${blade.datasource.dev.password} |
||||
@ -1,10 +0,0 @@ |
||||
#数据源配置 |
||||
server: |
||||
port: 8103 |
||||
|
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
|
||||
@ -1,9 +0,0 @@ |
||||
#数据源配置 |
||||
server: |
||||
port: 8103 |
||||
|
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
@ -1,26 +0,0 @@ |
||||
<?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="org.springblade.core.log.mapper.LogApiMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="logResultMap" type="org.springblade.core.log.model.LogApi"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="service_id" property="serviceId"/> |
||||
<result column="server_host" property="serverHost"/> |
||||
<result column="server_ip" property="serverIp"/> |
||||
<result column="env" property="env"/> |
||||
<result column="type" property="type"/> |
||||
<result column="title" property="title"/> |
||||
<result column="method" property="method"/> |
||||
<result column="request_uri" property="requestUri"/> |
||||
<result column="user_agent" property="userAgent"/> |
||||
<result column="remote_ip" property="remoteIp"/> |
||||
<result column="method_class" property="methodClass"/> |
||||
<result column="method_name" property="methodName"/> |
||||
<result column="params" property="params"/> |
||||
<result column="time" property="time"/> |
||||
<result column="create_by" property="createBy"/> |
||||
</resultMap> |
||||
|
||||
</mapper> |
||||
@ -1,27 +0,0 @@ |
||||
<?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="org.springblade.core.log.mapper.LogErrorMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="errorLogResultMap" type="org.springblade.core.log.model.LogError"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="service_id" property="serviceId"/> |
||||
<result column="server_host" property="serverHost"/> |
||||
<result column="server_ip" property="serverIp"/> |
||||
<result column="env" property="env"/> |
||||
<result column="method" property="method"/> |
||||
<result column="request_uri" property="requestUri"/> |
||||
<result column="user_agent" property="userAgent"/> |
||||
<result column="stack_trace" property="stackTrace"/> |
||||
<result column="exception_name" property="exceptionName"/> |
||||
<result column="message" property="message"/> |
||||
<result column="line_number" property="lineNumber"/> |
||||
<result column="method_class" property="methodClass"/> |
||||
<result column="file_name" property="fileName"/> |
||||
<result column="method_name" property="methodName"/> |
||||
<result column="params" property="params"/> |
||||
<result column="create_by" property="createBy"/> |
||||
</resultMap> |
||||
|
||||
</mapper> |
||||
@ -1,22 +0,0 @@ |
||||
<?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="org.springblade.core.log.mapper.LogUsualMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="logResultMap" type="org.springblade.core.log.model.LogUsual"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="service_id" property="serviceId"/> |
||||
<result column="server_host" property="serverHost"/> |
||||
<result column="server_ip" property="serverIp"/> |
||||
<result column="env" property="env"/> |
||||
<result column="log_level" property="logLevel"/> |
||||
<result column="log_data" property="logData"/> |
||||
<result column="method" property="method"/> |
||||
<result column="request_uri" property="requestUri"/> |
||||
<result column="user_agent" property="userAgent"/> |
||||
<result column="params" property="params"/> |
||||
<result column="create_by" property="createBy"/> |
||||
</resultMap> |
||||
|
||||
</mapper> |
||||
@ -1,6 +0,0 @@ |
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.dev.url} |
||||
username: ${blade.datasource.dev.username} |
||||
password: ${blade.datasource.dev.password} |
||||
@ -1,6 +0,0 @@ |
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
@ -1,6 +0,0 @@ |
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
@ -1,11 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8108 |
||||
|
||||
#报表配置 |
||||
report: |
||||
enabled: true |
||||
auth: true |
||||
database: |
||||
provider: |
||||
prefix: blade- |
||||
@ -1,7 +0,0 @@ |
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.dev.url} |
||||
username: ${blade.datasource.dev.username} |
||||
password: ${blade.datasource.dev.password} |
||||
|
||||
@ -1,7 +0,0 @@ |
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
|
||||
@ -1,6 +0,0 @@ |
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
@ -1,23 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8010 |
||||
|
||||
#oss默认配置 |
||||
oss: |
||||
#开启oss配置 |
||||
enabled: true |
||||
#开启oss类型 |
||||
#minio、s3、qiniu、alioss、huaweiobs、tencentcos |
||||
name: qiniu |
||||
#租户模式 |
||||
tenant-mode: true |
||||
#oss服务地址 |
||||
endpoint: http://prt1thnw3.bkt.clouddn.com |
||||
#minio转换服务地址,用于内网上传后将返回地址改为转换的外网地址 |
||||
transform-endpoint: http://localhost:9000 |
||||
#访问key |
||||
access-key: N_Loh1ngBqcJovwiAJqR91Ifj2vgOWHOf8AwBA_h |
||||
#密钥key |
||||
secret-key: AuzuA1KHAbkIndCU0dB3Zfii2O3crHNODDmpxHRS |
||||
#存储桶 |
||||
bucket-name: bladex |
||||
|
Before Width: | Height: | Size: 229 KiB |
@ -1,25 +0,0 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<flow> |
||||
<chain name="ossChain"> |
||||
THEN( |
||||
preOssRule, |
||||
SWITCH(ossCacheRule).TO( |
||||
ossReadRule, |
||||
THEN( |
||||
ossDataRule, |
||||
SWITCH(ossBuildRule).TO( |
||||
aliOssRule, |
||||
amazonS3Rule, |
||||
huaweiObsRule, |
||||
minioRule, |
||||
qiniuOssRule, |
||||
tencentCosRule, |
||||
localFileRule |
||||
), |
||||
ossTemplateRule |
||||
).id("ossNewRule") |
||||
), |
||||
finallyOssRule |
||||
); |
||||
</chain> |
||||
</flow> |
||||
|
Before Width: | Height: | Size: 139 KiB |
@ -1,16 +0,0 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<flow> |
||||
<chain name="smsChain"> |
||||
THEN( |
||||
preSmsRule, |
||||
SWITCH(smsBuildRule).TO( |
||||
aliSmsRule, |
||||
qiniuSmsRule, |
||||
tencentSmsRule, |
||||
yunpianSmsRule, |
||||
cacheSmsRule |
||||
), |
||||
finallySmsRule |
||||
); |
||||
</chain> |
||||
</flow> |
||||
@ -1,28 +0,0 @@ |
||||
<?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="org.springblade.resource.mapper.AttachMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="attachResultMap" type="org.springblade.resource.pojo.entity.Attach"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_dept" property="createDept"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="link" property="link"/> |
||||
<result column="domain_url" property="domainUrl"/> |
||||
<result column="name" property="name"/> |
||||
<result column="original_name" property="originalName"/> |
||||
<result column="extension" property="extension"/> |
||||
<result column="attach_size" property="attachSize"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectAttachPage" resultMap="attachResultMap"> |
||||
select * from blade_attach where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,30 +0,0 @@ |
||||
<?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="org.springblade.resource.mapper.OssMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="ossResultMap" type="org.springblade.resource.pojo.entity.Oss"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="oss_code" property="ossCode"/> |
||||
<result column="category" property="category"/> |
||||
<result column="endpoint" property="endpoint"/> |
||||
<result column="access_key" property="accessKey"/> |
||||
<result column="secret_key" property="secretKey"/> |
||||
<result column="bucket_name" property="bucketName"/> |
||||
<result column="app_id" property="appId"/> |
||||
<result column="region" property="region"/> |
||||
<result column="remark" property="remark"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectOssPage" resultMap="ossResultMap"> |
||||
select * from blade_oss where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,30 +0,0 @@ |
||||
<?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="org.springblade.resource.mapper.SmsMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="smsResultMap" type="org.springblade.resource.pojo.entity.Sms"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_dept" property="createDept"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="sms_code" property="smsCode"/> |
||||
<result column="template_id" property="templateId"/> |
||||
<result column="category" property="category"/> |
||||
<result column="access_key" property="accessKey"/> |
||||
<result column="secret_key" property="secretKey"/> |
||||
<result column="region_id" property="regionId"/> |
||||
<result column="sign_name" property="signName"/> |
||||
<result column="remark" property="remark"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectSmsPage" resultMap="smsResultMap"> |
||||
select * from blade_sms where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-desk-api=/blade-desk-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-dict-api=/blade-dict-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-record-api=/blade-record-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-scope-api=/blade-scope-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-system-api=/blade-system-api[\\w-]+\.jar |
||||
@ -1 +0,0 @@ |
||||
org.springblade.system.feign.ISysClientFallback |
||||
@ -1 +0,0 @@ |
||||
restart.include.blade-user-api=/blade-user-api[\\w-]+\.jar |
||||
@ -1,11 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8105 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.dev.url} |
||||
username: ${blade.datasource.dev.username} |
||||
password: ${blade.datasource.dev.password} |
||||
|
||||
@ -1,10 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8105 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
@ -1,10 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8105 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
@ -1,45 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsBomMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsBomResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsBomEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PARENT_PART_ID" property="parentPartId"/> |
||||
<result column="PARENT_PART_CODE" property="parentPartCode"/> |
||||
<result column="PARENT_PART_NAME" property="parentPartName"/> |
||||
<result column="CHILD_PART_ID" property="childPartId"/> |
||||
<result column="CHILD_PART_CODE" property="childPartCode"/> |
||||
<result column="CHILD_PART_NAME" property="childPartName"/> |
||||
<result column="QUANTITY" property="quantity"/> |
||||
<result column="UNIT" property="unit"/> |
||||
<result column="BOM_LEVEL" property="bomLevel"/> |
||||
<result column="NODE_TYPE" property="nodeType"/> |
||||
<result column="MATERIAL" property="material"/> |
||||
<result column="SPECIFICATIONS" property="specifications"/> |
||||
<result column="LOSS_RATE" property="lossRate"/> |
||||
<result column="BOM_VERSION" property="bomVersion"/> |
||||
<result column="EFFECT_DATE" property="effectDate"/> |
||||
<result column="BOM_STATUS" property="bomStatus"/> |
||||
<result column="SORT_ORDER" property="sortOrder"/> |
||||
<result column="PROCESS_RELATION" property="processRelation"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsBomPage" resultMap="dsBomResultMap"> |
||||
select * from DS_BOM where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsBom" resultType="org.springblade.desk.dashboard.excel.DsBomExcel"> |
||||
SELECT * FROM DS_BOM ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,30 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsCraftAbilityMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsCraftAbilityResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsCraftAbilityEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="CODE" property="code"/> |
||||
<result column="NAME" property="name"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsCraftAbilityPage" resultMap="bsCraftAbilityResultMap"> |
||||
select * from BS_CRAFT_ABILITY where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsCraftAbility" resultType="org.springblade.desk.dashboard.excel.BsCraftAbilityExcel"> |
||||
SELECT * FROM BS_CRAFT_ABILITY ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,48 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsCraftMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsCraftResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsCraftEntity"> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="ID" property="id"/> |
||||
<result column="PART_ID" property="partId"/> |
||||
<result column="ROAM_NO" property="roamNo"/> |
||||
<result column="CRAFT_NO" property="craftNo"/> |
||||
<result column="QUALITY_GRADE_CODE" property="qualityGradeCode"/> |
||||
<result column="QUALITY_GRADE_NAME" property="qualityGradeName"/> |
||||
<result column="PRORITY" property="prority"/> |
||||
<result column="RANK" property="rank"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="PART_VERSIONS" property="partVersions"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsCraftPage" resultMap="dsCraftResultMap"> |
||||
select * from DS_CRAFT where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsCraft" resultType="org.springblade.desk.dashboard.excel.DsCraftExcel"> |
||||
SELECT * FROM DS_CRAFT ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
<select id="selectDsCraftByIds" resultType="org.springblade.desk.dashboard.pojo.entity.DsCraftEntity"> |
||||
select * from DS_CRAFT where is_deleted = 0 |
||||
AND ID IN |
||||
<foreach collection="craftIds" item="id" open="(" close=")" separator=","> |
||||
#{id} |
||||
</foreach> |
||||
</select> |
||||
|
||||
<select id="selectDsCraftByPartId" resultType="org.springblade.desk.dashboard.pojo.vo.DsCraftExpireVO"> |
||||
select * from DS_CRAFT where is_deleted = 0 and PART_ID = #{partId} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,31 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsHourQuotaDetailMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsHourQuotaDetailResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsHourQuotaDetailEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="QUOTA_ID" property="quotaId"/> |
||||
<result column="PRO_STEP" property="proStep"/> |
||||
<result column="PRO_HOURS" property="proHours"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsHourQuotaDetailPage" resultMap="dsHourQuotaDetailResultMap"> |
||||
select * from DS_HOUR_QUOTA_DETAIL where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsHourQuotaDetail" resultType="org.springblade.desk.dashboard.excel.DsHourQuotaDetailExcel"> |
||||
SELECT * FROM DS_HOUR_QUOTA_DETAIL ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,36 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsHourQuotaMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsHourQuotaResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsHourQuotaEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="ABILITY_CODE" property="abilityCode"/> |
||||
<result column="ABILITY_NAME" property="abilityName"/> |
||||
<result column="PRO_CODE" property="proCode"/> |
||||
<result column="PRO_NAME" property="proName"/> |
||||
<result column="PART_CODE" property="partCode"/> |
||||
<result column="PRO_HOURS" property="proHours"/> |
||||
<result column="PREPARE_HOURS" property="prepareHours"/> |
||||
<result column="UNIT" property="unit"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsHourQuotaPage" resultMap="dsHourQuotaResultMap"> |
||||
select * from DS_HOUR_QUOTA where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsHourQuota" resultType="org.springblade.desk.dashboard.excel.DsHourQuotaExcel"> |
||||
SELECT * FROM DS_HOUR_QUOTA ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,186 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsPartMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsPartResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsPartEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PARENT_ID" property="parentId"/> |
||||
<result column="PART_CODE" property="partCode"/> |
||||
<result column="PART_NAME" property="partName"/> |
||||
<result column="HARDNESS" property="hardness"/> |
||||
<result column="MATERIAL" property="material"/> |
||||
<result column="AREA" property="area"/> |
||||
<result column="PLATE" property="plate"/> |
||||
<result column="CRAFT_WAY" property="craftWay"/> |
||||
<result column="EXPIRATION_PERIOD" property="expirationPeriod"/> |
||||
<result column="ADVANCE_REMIND" property="advanceRemind"/> |
||||
<result column="NEXT_DUE" property="nextDue"/> |
||||
<result column="TECHNICIAN" property="technician"/> |
||||
<result column="KEY_INFO" property="keyInfo"/> |
||||
<result column="SIGN_MEMO" property="signMemo"/> |
||||
<result column="IS_SINTERING" property="isSintering"/> |
||||
<result column="PRODUCT_TYPE" property="productType"/> |
||||
<result column="IS_ABNORMAL" property="isAbnormal"/> |
||||
<result column="CONFIG_CODE" property="configCode"/> |
||||
<result column="GOLD_MARK" property="goldMark"/> |
||||
<result column="DOC_LINK" property="docLink"/> |
||||
<result column="PLATE_CODE" property="plateCode"/> |
||||
<result column="PLATE_THICKNESS" property="plateThickness"/> |
||||
<result column="PLATE_GOODS_CODE" property="plateGoodsCode"/> |
||||
<result column="MARKINGS_TEST" property="markingsTest"/> |
||||
<result column="PRODUCT_SERIES" property="productSeries"/> |
||||
<result column="IS_CLASS_CAKE" property="isClassCake"/> |
||||
<result column="FORMING_THICKNESS" property="formingThickness"/> |
||||
<result column="IS_CHILD_PRINT" property="isChildPrint"/> |
||||
<result column="POWDER_WEIGHT" property="powderWeight"/> |
||||
<result column="IS_PRINT" property="isPrint"/> |
||||
<result column="REVIEW_USER" property="reviewUser"/> |
||||
<result column="APPROVE_USER" property="approveUser"/> |
||||
<result column="TSB_NUM" property="tsbNum"/> |
||||
<result column="TSD_NUM" property="tsdNum"/> |
||||
<result column="TJT_NUM" property="tjtNum"/> |
||||
<result column="LAST_UPDATE_TIME" property="lastUpdateTime"/> |
||||
<result column="LAST_UPDATE_USER" property="lastUpdateUser"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="SIN_TER_TYPE" property="sinTerType"/> |
||||
</resultMap> |
||||
|
||||
<update id="updateNextDueByIds"> |
||||
UPDATE DS_PART |
||||
SET NEXT_DUE = TO_DATE(#{nextDue}, 'YYYY-MM-DD') |
||||
WHERE ID IN |
||||
<foreach collection="ids" item="id" open="(" separator="," close=")"> |
||||
#{id} |
||||
</foreach> |
||||
</update> |
||||
|
||||
|
||||
<select id="selectDsPartPage" resultType="org.springblade.desk.dashboard.pojo.vo.DsPartVO"> |
||||
select * from DS_PART where is_deleted = 0 |
||||
<if test="dsPart.plate != null and dsPart.plate != ''"> |
||||
and PLATE = #{dsPart.plate} |
||||
</if> |
||||
<if test="dsPart.partCode != null "> |
||||
and PART_CODE = #{dsPart.partCode} |
||||
</if> |
||||
<if test="dsPart.sinTerType != null "> |
||||
and SIN_TER_TYPE = #{dsPart.sinTerType} |
||||
</if> |
||||
<if test="dsPart.material != null and dsPart.material != ''"> |
||||
and MATERIAL = #{dsPart.material} |
||||
</if> |
||||
<if test="dsPart.powderWeight != null"> |
||||
and POWDER_WEIGHT = #{dsPart.powderWeight} |
||||
</if> |
||||
<if test="dsPart.formingThickness != null"> |
||||
and FORMING_THICKNESS = #{dsPart.formingThickness} |
||||
</if> |
||||
<if test="dsPart.startDate != null and dsPart.endDate != null"> |
||||
and NEXT_DUE BETWEEN TO_DATE(#{dsPart.startDate}, 'YYYY-MM-DD') |
||||
AND TO_DATE(#{dsPart.endDate}, 'YYYY-MM-DD') |
||||
</if> |
||||
<if test="dsPart.partIds != null "> |
||||
AND ID IN |
||||
<foreach collection="dsPart.partIds" item="id" open="(" close=")" separator=","> |
||||
#{id} |
||||
</foreach> |
||||
</if> |
||||
|
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsPart" resultType="org.springblade.desk.dashboard.excel.DsPartExcel"> |
||||
SELECT * FROM DS_PART ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
<select id="selectDsPartByParentID" resultType="org.springblade.desk.dashboard.pojo.entity.DsPartEntity"> |
||||
select * from DS_PART where PARENT_ID = #{id} |
||||
</select> |
||||
|
||||
<select id="selectDsPartByPatCode" resultType="org.springblade.desk.dashboard.pojo.entity.DsPartEntity"> |
||||
select * from DS_PART where PART_CODE = #{partCode} |
||||
</select> |
||||
|
||||
<select id="selectDsPartLoseEfficacy" resultType="org.springblade.desk.dashboard.pojo.entity.DsPartEntity"> |
||||
SELECT id,NEXT_DUE |
||||
FROM DS_PART |
||||
WHERE NEXT_DUE BETWEEN #{currentDate} AND #{futureDate} |
||||
</select> |
||||
|
||||
|
||||
<select id="selectDsPartByNextDue" resultType="org.springblade.desk.dashboard.pojo.vo.DsCraftExpireVO"> |
||||
SELECT * FROM DS_PART |
||||
WHERE is_deleted = 0 |
||||
AND NEXT_DUE BETWEEN #{currentDate} AND #{futureDate} |
||||
</select> |
||||
|
||||
|
||||
<select id="selectDsPartByIds" resultType="org.springblade.desk.dashboard.pojo.entity.DsPartEntity"> |
||||
SELECT * FROM DS_PART |
||||
WHERE id IN |
||||
<foreach collection="ids" item="id" open="(" close=")" separator=","> |
||||
#{id} |
||||
</foreach> |
||||
AND is_deleted = 0 |
||||
</select> |
||||
|
||||
<select id="selectAll" resultType="org.springblade.desk.dashboard.pojo.vo.DsPartCodeAndPartNameVO"> |
||||
select * from DS_PART where is_deleted = 0 and status = 1 |
||||
</select> |
||||
|
||||
<select id="selectDsPartByIdAndParentId" resultType="org.springblade.desk.dashboard.pojo.vo.DsPartBomVO"> |
||||
SELECT |
||||
p.PART_CODE as zPartCode, |
||||
parent.part_code as bPartCode, |
||||
p.DOC_LINK as docLink |
||||
FROM DS_PART p |
||||
LEFT JOIN DS_PART parent ON p.parent_id = parent.id |
||||
WHERE parent.part_code LIKE '%' || #{bPartCode} || '%' |
||||
AND p.part_code LIKE '%' || #{zPartCode} || '%' |
||||
AND p.IS_DELETED=0; |
||||
</select> |
||||
|
||||
<select id="selectMatchedParents" resultType="org.springblade.desk.dashboard.pojo.vo.DsPartTreeVO"> |
||||
SELECT |
||||
id, |
||||
parent_id as parentId, |
||||
part_code as partCode, |
||||
part_name as partName, |
||||
doc_link as docLink |
||||
FROM DS_PART |
||||
WHERE IS_DELETED = 0 |
||||
AND part_code LIKE '%' || #{partCode} || '%' |
||||
</select> |
||||
|
||||
<select id="selectAllParts" resultType="org.springblade.desk.dashboard.pojo.vo.DsPartTreeVO"> |
||||
SELECT |
||||
id, |
||||
parent_id as parentId, |
||||
part_code as partCode, |
||||
part_name as partName, |
||||
doc_link as docLink |
||||
FROM DS_PART |
||||
WHERE IS_DELETED = 0 |
||||
</select> |
||||
|
||||
<select id="selectDsPartZpartCode" resultType="org.springblade.desk.dashboard.pojo.vo.DsPartBomVO"> |
||||
SELECT |
||||
p.PART_CODE as zPartCode, |
||||
parent.part_code as bPartCode, |
||||
p.DOC_LINK as docLink |
||||
FROM DS_PART p |
||||
LEFT JOIN DS_PART parent ON p.parent_id = parent.id |
||||
WHERE p.PARENT_ID != 0 AND p.part_code LIKE '%' || #{zPartCode} || '%' |
||||
AND p.IS_DELETED=0; |
||||
</select> |
||||
|
||||
|
||||
</mapper> |
||||
@ -1,46 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsPlatingMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsPlatingResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsPlatingEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="CONFIG_CODE" property="configCode"/> |
||||
<result column="PLATE" property="plate"/> |
||||
<result column="PLATE_TYPE" property="plateType"/> |
||||
<result column="SMALL_PLATE_TYPE" property="smallPlateType"/> |
||||
<result column="MAT_CODE" property="matCode"/> |
||||
<result column="MATERIAL" property="material"/> |
||||
<result column="MAT_STATE" property="matState"/> |
||||
<result column="HARDNESS" property="hardness"/> |
||||
<result column="PLATE_CODE" property="plateCode"/> |
||||
<result column="PLATE_GOODS_CODE" property="plateGoodsCode"/> |
||||
<result column="PLATE_THICKNESS" property="plateThickness"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsPlatingPage" resultMap="bsPlatingResultMap"> |
||||
select * from BS_PLATING where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsPlating" resultType="org.springblade.desk.dashboard.excel.BsPlatingExcel"> |
||||
SELECT * FROM BS_PLATING ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
|
||||
<select id="selectBsPlatingByPlate" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.BsPlatingEntity"> |
||||
|
||||
select * from BS_PLATING where PLATE= #{plate} and ROWNUM = 1 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,47 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsPlatingTypeAssignMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsPlatingTypeAssignResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsPlatingTypeAssignEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PLATE_TYPE" property="plateType"/> |
||||
<result column="DEPT_ID" property="deptId"/> |
||||
<result column="DEPT_NAME" property="deptName"/> |
||||
<result column="USER_ID" property="userId"/> |
||||
<result column="USER_NAME" property="userName"/> |
||||
<result column="ASSIGN_TYPE" property="assignType"/> |
||||
<result column="ASSIGN_PRIORITY" property="assignPriority"/> |
||||
<result column="MAX_TASK_COUNT" property="maxTaskCount"/> |
||||
<result column="CURRENT_TASK_COUNT" property="currentTaskCount"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsPlatingTypeAssignPage" resultMap="bsPlatingTypeAssignResultMap"> |
||||
select * from BS_PLATING_TYPE_ASSIGN where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsPlatingTypeAssign" resultType="org.springblade.desk.dashboard.excel.BsPlatingTypeAssignExcel"> |
||||
SELECT * FROM BS_PLATING_TYPE_ASSIGN ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
<select id="selectBsPlatingTypeAssignByPlateType" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.BsPlatingTypeAssignEntity"> |
||||
SELECT * FROM BS_PLATING_TYPE_ASSIGN |
||||
WHERE plate_type = #{plateType} |
||||
AND status = 1 |
||||
AND is_deleted = 0 |
||||
AND current_task_count <![CDATA[ < ]]> max_task_count |
||||
ORDER BY assign_type, assign_priority |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,33 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsPlatingTypeMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsPlatingTypeResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsPlatingTypeEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PLATE_TYPE" property="plateType"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsPlatingTypePage" resultMap="bsPlatingTypeResultMap"> |
||||
select * from BS_PLATING_TYPE where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsPlatingType" resultType="org.springblade.desk.dashboard.excel.BsPlatingTypeExcel"> |
||||
SELECT * FROM BS_PLATING_TYPE ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
<select id="getPlatingType" resultType="org.springblade.desk.dashboard.pojo.vo.BsPlatingTypeListVO"> |
||||
select * from BS_PLATING_TYPE where IS_DELETED = 0 and STATUS =1 |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,29 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsPlatingTypeSmallMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsPlatingTypeSmallResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsPlatingTypeSmallEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PLATE_TYPE" property="plateType"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsPlatingTypeSmallPage" resultMap="bsPlatingTypeSmallResultMap"> |
||||
select * from BS_PLATING_TYPE_SMALL where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsPlatingTypeSmall" resultType="org.springblade.desk.dashboard.excel.BsPlatingTypeSmallExcel"> |
||||
SELECT * FROM BS_PLATING_TYPE_SMALL ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,53 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsProDetailMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsProDetailResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsProDetailEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="MODEL_ID" property="modelId"/> |
||||
<result column="PROCESS_NO" property="processNo"/> |
||||
<result column="PROCESS_CODE" property="processCode"/> |
||||
<result column="PROCESS_NAME" property="processName"/> |
||||
<result column="CRAFT_CODE" property="craftCode"/> |
||||
<result column="CRAFT_NAME" property="craftName"/> |
||||
<result column="WORK_HOURS" property="workHours"/> |
||||
<result column="PRO_DES" property="proDes"/> |
||||
<result column="IS_MAIN" property="isMain"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
<update id="deleteDetailByModelIds"> |
||||
UPDATE DS_PRO_DETAIL |
||||
SET is_deleted = 1 |
||||
WHERE MODEL_ID IN |
||||
<foreach collection="ids" item="id" open="(" separator="," close=")"> |
||||
#{id} |
||||
</foreach> |
||||
</update> |
||||
|
||||
<delete id="deleteDetailByModelId"> |
||||
delete from DS_PRO_DETAIL where MODEL_ID =#{modelId}; |
||||
</delete> |
||||
|
||||
|
||||
<select id="selectDsProDetailPage" resultMap="dsProDetailResultMap"> |
||||
select * from DS_PRO_DETAIL where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsProDetail" resultType="org.springblade.desk.dashboard.excel.DsProDetailExcel"> |
||||
SELECT * FROM DS_PRO_DETAIL ${ew.customSqlSegment} |
||||
</select> |
||||
<select id="selectDsProDetailByModelId" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.DsProDetailEntity"> |
||||
SELECT * FROM DS_PRO_DETAIL WHERE IS_DELETED = 0 AND MODEL_ID=#{modelId} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,51 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsProModelMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsProModelResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsProModelEntity"> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="ID" property="id"/> |
||||
<result column="CODE" property="code"/> |
||||
<result column="NAME" property="name"/> |
||||
<result column="WORK_CENTER_ID" property="workCenterId"/> |
||||
<result column="WORK_CENTER_NAME" property="workCenterName"/> |
||||
<result column="PROCESS_NUM" property="processNum"/> |
||||
<result column="QUALITY_GRADE_CODE" property="qualityGradeCode"/> |
||||
<result column="QUALITY_GRADE_NAME" property="qualityGradeName"/> |
||||
<result column="PLATING_TYPE" property="platingType"/> |
||||
<result column="PRIORITY" property="priority"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="TEMPLATE_TYPE" property="templateType"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsProModelPage" resultType="org.springblade.desk.dashboard.pojo.vo.DsProModelVO"> |
||||
select * from DS_PRO_MODEL where is_deleted = 0 |
||||
<if test="dsProModel.status != null "> |
||||
and status = #{dsProModel.status} |
||||
</if> |
||||
<if test="dsProModel.templateType != null and dsProModel.templateType !=''"> |
||||
and TEMPLATE_TYPE = #{dsProModel.templateType} |
||||
</if> |
||||
<if test="dsProModel.platingType != null "> |
||||
and PLATING_TYPE = #{dsProModel.platingType} |
||||
</if> |
||||
<if test="dsProModel.name != null and dsProModel.name != ''"> |
||||
and name like concat(concat('%', #{dsProModel.name}), '%') |
||||
</if> |
||||
|
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsProModel" resultType="org.springblade.desk.dashboard.excel.DsProModelExcel"> |
||||
SELECT * FROM DS_PRO_MODEL ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,35 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsProcessGroupMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsProcessGroupResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsProcessGroupEntity"> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="ID" property="id"/> |
||||
<result column="GROUP_CODE" property="groupCode"/> |
||||
<result column="GROUP_NAME" property="groupName"/> |
||||
<result column="GROUP_DESCRIPTION" property="groupDescription"/> |
||||
<result column="PROCESS_ID" property="processId"/> |
||||
<result column="PROCESS_CODE" property="processCode"/> |
||||
<result column="PROCESS_NAME" property="processName"/> |
||||
<result column="SORT_ORDER" property="sortOrder"/> |
||||
<result column="GROUP_STATUS" property="groupStatus"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsProcessGroupPage" resultMap="bsProcessGroupResultMap"> |
||||
select * from BS_PROCESS_GROUP where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsProcessGroup" resultType="org.springblade.desk.dashboard.excel.BsProcessGroupExcel"> |
||||
SELECT * FROM BS_PROCESS_GROUP ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,49 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsProcessMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsProcessResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsProcessEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="CRAFT_ID" property="craftId"/> |
||||
<result column="PROCESS_NO" property="processNo"/> |
||||
<result column="PROCESS_CODE" property="processCode"/> |
||||
<result column="PROCESS_NAME" property="processName"/> |
||||
<result column="CRAFT_CODE" property="craftCode"/> |
||||
<result column="CRAFT_NAME" property="craftName"/> |
||||
<result column="PRO_HOURS" property="proHours"/> |
||||
<result column="PRO_DES" property="proDes"/> |
||||
<result column="IS_MAIN" property="isMain"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsProcessPage" resultMap="dsProcessResultMap"> |
||||
select * from DS_PROCESS where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsProcess" resultType="org.springblade.desk.dashboard.excel.DsProcessExcel"> |
||||
SELECT * FROM DS_PROCESS ${ew.customSqlSegment} |
||||
</select> |
||||
<select id="selectDsProcessByCraftId" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.DsProcessEntity"> |
||||
select * from DS_PROCESS where CRAFT_ID = #{craftId} |
||||
</select> |
||||
|
||||
<select id="selectDsProcessByIds" resultType="org.springblade.desk.dashboard.pojo.entity.DsProcessEntity"> |
||||
select * from DS_PROCESS where is_deleted = 0 |
||||
AND ID IN |
||||
<foreach collection="processIds" item="id" open="(" close=")" separator=","> |
||||
#{id} |
||||
</foreach> |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,46 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsProcessMeasuringToolMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsProcessMeasuringToolResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsProcessMeasuringToolEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PROCESS_ID" property="processId"/> |
||||
<result column="PROJECT_CODE" property="projectCode"/> |
||||
<result column="TEST_TYPE" property="testType"/> |
||||
<result column="TOOL" property="tool"/> |
||||
<result column="TOOL_SIZE" property="toolSize"/> |
||||
<result column="TOOL_INFO" property="toolInfo"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsProcessMeasuringToolPage" resultMap="dsProcessMeasuringToolResultMap"> |
||||
select * from DS_PROCESS_MEASURING_TOOL where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsProcessMeasuringTool" resultType="org.springblade.desk.dashboard.excel.DsProcessMeasuringToolExcel"> |
||||
SELECT * FROM DS_PROCESS_MEASURING_TOOL ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
|
||||
<select id="selectDsProcessMeasuringToolByProcessIds" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.DsProcessMeasuringToolEntity"> |
||||
|
||||
SELECT * FROM DS_PROCESS_MEASURING_TOOL |
||||
WHERE process_id IN |
||||
<foreach collection="processIds" item="id" open="(" close=")" separator=","> |
||||
#{id} |
||||
</foreach> |
||||
|
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,43 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsProcessMoldToolMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsProcessMoldToolResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsProcessMoldToolEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PROCESS_ID" property="processId"/> |
||||
<result column="MOLD_CODE" property="moldCode"/> |
||||
<result column="MOLD_NAME" property="moldName"/> |
||||
<result column="IS_PRINT" property="isPrint"/> |
||||
<result column="PRINT_NO" property="printNo"/> |
||||
<result column="TEST_FIXTURE_NO" property="testFixtureNo"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsProcessMoldToolPage" resultMap="dsProcessMoldToolResultMap"> |
||||
select * from DS_PROCESS_MOLD_TOOL where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsProcessMoldTool" resultType="org.springblade.desk.dashboard.excel.DsProcessMoldToolExcel"> |
||||
SELECT * FROM DS_PROCESS_MOLD_TOOL ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
|
||||
<select id="selectDsProcessMoldToolByProcessIds" resultType="org.springblade.desk.dashboard.pojo.entity.DsProcessMoldToolEntity"> |
||||
SELECT * FROM DS_PROCESS_MOLD_TOOL |
||||
WHERE process_id IN |
||||
<foreach collection="processIds" item="id" open="(" close=")" separator=","> |
||||
#{id} |
||||
</foreach> |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,48 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsProcessProjectMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsProcessProjectResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsProcessProjectEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PROCESS_ID" property="processId"/> |
||||
<result column="PROJECT_CODE" property="projectCode"/> |
||||
<result column="PROJECT_NAME" property="projectName"/> |
||||
<result column="PROJECT_STANDARD" property="projectStandard"/> |
||||
<result column="PRO_HOURS" property="proHours"/> |
||||
<result column="PREPARE_HOURS" property="prepareHours"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsProcessProjectPage" resultMap="dsProcessProjectResultMap"> |
||||
select * from DS_PROCESS_PROJECT where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsProcessProject" resultType="org.springblade.desk.dashboard.excel.DsProcessProjectExcel"> |
||||
SELECT * FROM DS_PROCESS_PROJECT ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
<select id="selectDsProcessProjectByProcessIds" resultType="org.springblade.desk.dashboard.pojo.entity.DsProcessProjectEntity"> |
||||
SELECT * FROM DS_PROCESS_PROJECT |
||||
WHERE process_id IN |
||||
<foreach collection="processIds" item="id" open="(" close=")" separator=","> |
||||
#{id} |
||||
</foreach> |
||||
</select> |
||||
|
||||
<select id="selectDsProcessProjectByProcessCode" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.DsProcessProjectEntity"> |
||||
select * from DS_PROCESS_PROJECT where is_deleted = 0 and PROJECT_CODE = #{projectCode} |
||||
</select> |
||||
|
||||
|
||||
</mapper> |
||||
@ -1,41 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsProcessSetMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsProcessSetResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsProcessSetEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="CODE" property="code"/> |
||||
<result column="NAME" property="name"/> |
||||
<result column="CYCLE" property="cycle"/> |
||||
<result column="IS_MAIN" property="isMain"/> |
||||
<result column="IS_SPECIAL" property="isSpecial"/> |
||||
<result column="IS_DISPATCH" property="isDispatch"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="ELE_STREAM" property="eleStream"/> |
||||
<result column="ELE_RATE" property="eleRate"/> |
||||
<result column="PH_VALUE" property="phValue"/> |
||||
<result column="NI_VALUE" property="niValue"/> |
||||
<result column="V_SPEED" property="vSpeed"/> |
||||
<result column="CYROPACTOR_CONTROL" property="cyropactorControl"/> |
||||
<result column="TEAM" property="team"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsProcessSetPage" resultMap="bsProcessSetResultMap"> |
||||
select * from BS_PROCESS_SET where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsProcessSet" resultType="org.springblade.desk.dashboard.excel.BsProcessSetExcel"> |
||||
SELECT * FROM BS_PROCESS_SET ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,46 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsProcessTeamMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsProcessTeamResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsProcessTeamEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PPS_ID" property="ppsId"/> |
||||
<result column="TS_ID" property="tsId"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
</resultMap> |
||||
|
||||
<delete id="deleteByPid"> |
||||
delete from BS_PROCESS_TEAM |
||||
where pps_id = #{pid}; |
||||
</delete> |
||||
|
||||
|
||||
<select id="selectBsProcessTeamPage" resultMap="bsProcessTeamResultMap"> |
||||
select * from BS_PROCESS_TEAM where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsProcessTeam" resultType="org.springblade.desk.dashboard.excel.BsProcessTeamExcel"> |
||||
SELECT * FROM BS_PROCESS_TEAM ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
<select id="selectBsProcessTeamByPid" |
||||
resultType="org.springblade.desk.dashboard.pojo.vo.BsTeamSetEntityVO"> |
||||
SELECT BTS.TS_NAME,BTS.ID FROM BS_PROCESS_TEAM BPT LEFT JOIN BS_TEAM_SET BTS ON BTS.ID = BPT.TS_ID |
||||
WHERE PPS_ID = #{pId}; |
||||
</select> |
||||
<select id="selectBsProcessTeamByPidAndTsId" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.BsProcessTeamEntity"> |
||||
SELECT * FROM BS_PROCESS_TEAM |
||||
WHERE PPS_ID =#{pid} AND TS_ID =#{tsId} ; |
||||
</select> |
||||
|
||||
|
||||
</mapper> |
||||
@ -1,81 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.DsTaskingMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="dsTaskingResultMap" type="org.springblade.desk.dashboard.pojo.entity.DsTaskingEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="PART_CODE" property="partCode"/> |
||||
<result column="PART_NAME" property="partName"/> |
||||
<result column="PLATE" property="plate"/> |
||||
<result column="VERSION" property="version"/> |
||||
<result column="PDM_CREATE_TIME" property="pdmCreateTime"/> |
||||
<result column="PDM_WAY" property="pdmWay"/> |
||||
<result column="WAY_DETAILS" property="wayDetails"/> |
||||
<result column="WIP_TAKE" property="wipTake"/> |
||||
<result column="CHANGE_NO" property="changeNo"/> |
||||
<result column="FINAL_PLATING" property="finalPlating"/> |
||||
<result column="TASK_TYPE" property="taskType"/> |
||||
<result column="CRAFT_MAN" property="craftMan"/> |
||||
<result column="ASSIGN_MAN" property="assignMan"/> |
||||
<result column="ASSIGN_TIME" property="assignTime"/> |
||||
<result column="SYNC_TIME" property="syncTime"/> |
||||
<result column="OUT_FLAG" property="outFlag"/> |
||||
<result column="PART_ID" property="partId"/> |
||||
<result column="IN_PRODUCTION" property="inProduction"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="REMARKS" property="remarks"/> |
||||
<result column="STATUS" property="status"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="TASK_STATUS" property="taskStatus"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectDsTaskingPage" resultType="org.springblade.desk.dashboard.pojo.vo.DsTaskingVO"> |
||||
select * from DS_TASKING where is_deleted = 0 and TASK_STATUS = 0 |
||||
<if test="dsTasking.taskType != null "> |
||||
and TASK_TYPE = #{dsTasking.taskType} |
||||
</if> |
||||
<if test="dsTasking.partCode != null "> |
||||
and PART_CODE = #{dsTasking.partCode} |
||||
</if> |
||||
|
||||
</select> |
||||
|
||||
|
||||
<select id="exportDsTasking" resultType="org.springblade.desk.dashboard.excel.DsTaskingExcel"> |
||||
SELECT * FROM DS_TASKING ${ew.customSqlSegment} |
||||
</select> |
||||
<select id="selectDsTaskingTimeoutTask" |
||||
resultType="org.springblade.desk.dashboard.pojo.entity.DsTaskingEntity"> |
||||
SELECT * FROM DS_TASKING |
||||
WHERE IS_DELETED = 0 |
||||
AND TASK_STATUS = #{taskStatus} |
||||
AND TRUNC(CREATE_TIME) >= DATE #{date}; |
||||
</select> |
||||
|
||||
|
||||
<select id="selectDisposeList" resultType="org.springblade.desk.dashboard.pojo.vo.DsTaskingVO"> |
||||
select * from DS_TASKING where is_deleted = 0 |
||||
<if test="dsTasking.taskStatus != null "> |
||||
and TASK_STATUS = #{dsTasking.taskStatus} |
||||
</if> |
||||
<if test="dsTasking.taskType != null "> |
||||
and TASK_TYPE = #{dsTasking.taskType} |
||||
</if> |
||||
<if test="dsTasking.partCode != null "> |
||||
and PART_CODE = #{dsTasking.partCode} |
||||
</if> |
||||
<if test="dsTasking.taskStatus == null and dsTasking.TaskStatusList != null"> |
||||
and TASK_STATUS in |
||||
<foreach collection="dsTasking.TaskStatusList" item="taskStatus" open="(" close=")" separator=","> |
||||
#{taskStatus} |
||||
</foreach> |
||||
</if> |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,46 +0,0 @@ |
||||
<?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="org.springblade.desk.dashboard.mapper.BsTeamSetMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="bsTeamSetResultMap" type="org.springblade.desk.dashboard.pojo.entity.BsTeamSetEntity"> |
||||
<result column="ID" property="id"/> |
||||
<result column="TS_CODE" property="tsCode"/> |
||||
<result column="TS_NAME" property="tsName"/> |
||||
<result column="TEAM_LEADER" property="teamLeader"/> |
||||
<result column="PLANNER" property="planner"/> |
||||
<result column="DISPATCHER" property="dispatcher"/> |
||||
<result column="TEAM_MEMBER" property="teamMember"/> |
||||
<result column="CS_ID" property="csId"/> |
||||
<result column="DAY_PUT_DUE_TIME" property="dayPutDueTime"/> |
||||
<result column="SPEC_DAY_PUT_DUE_TIME" property="specDayPutDueTime"/> |
||||
<result column="EX_CHANGE_TIME" property="exChangeTime"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="SPECIAL" property="special"/> |
||||
<result column="TS_TYPE" property="tsType"/> |
||||
<result column="WC_ID" property="wcId"/> |
||||
<result column="CREATE_TIME" property="createTime"/> |
||||
<result column="CREATE_USER" property="createUser"/> |
||||
<result column="CREATE_DEPT" property="createDept"/> |
||||
<result column="UPDATE_TIME" property="updateTime"/> |
||||
<result column="UPDATE_USER" property="updateUser"/> |
||||
<result column="IS_DELETED" property="isDeleted"/> |
||||
<result column="STATUS" property="status"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectBsTeamSetPage" resultMap="bsTeamSetResultMap"> |
||||
select * from BS_TEAM_SET where is_deleted = 0 |
||||
</select> |
||||
|
||||
|
||||
<select id="exportBsTeamSet" resultType="org.springblade.desk.dashboard.excel.BsTeamSetExcel"> |
||||
SELECT * FROM BS_TEAM_SET ${ew.customSqlSegment} |
||||
</select> |
||||
|
||||
<select id="selectBsTeamSetBySpecial" |
||||
resultType="org.springblade.desk.dashboard.pojo.vo.BsTeamSetEntityVO"> |
||||
select * from bs_team_set where IS_DELETED = 0 and SPECIAL = #{special} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,6 +0,0 @@ |
||||
<?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="org.springblade.desk.notice.mapper.LeaveMapper"> |
||||
|
||||
|
||||
</mapper> |
||||
@ -1,54 +0,0 @@ |
||||
<?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="org.springblade.desk.notice.mapper.NoticeMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="noticeResultMap" type="org.springblade.desk.pojo.entity.Notice"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="release_time" property="releaseTime"/> |
||||
<result column="title" property="title"/> |
||||
<result column="content" property="content"/> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="noticeVOResultMap" type="org.springblade.desk.pojo.vo.NoticeVO"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="status" property="status"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="release_time" property="releaseTime"/> |
||||
<result column="title" property="title"/> |
||||
<result column="content" property="content"/> |
||||
</resultMap> |
||||
|
||||
<select id="topList" resultMap="noticeResultMap"> |
||||
select * from blade_notice limit #{number} |
||||
</select> |
||||
|
||||
<select id="selectNoticePage" resultMap="noticeVOResultMap"> |
||||
SELECT |
||||
n.*, |
||||
d.dict_value AS categoryName |
||||
FROM |
||||
blade_notice n |
||||
LEFT JOIN ( SELECT * FROM blade_dict WHERE CODE = 'notice' ) d ON n.category = d.dict_key |
||||
WHERE |
||||
n.is_deleted = 0 and n.tenant_id = #{notice.tenantId} |
||||
<if test="notice.title!=null"> |
||||
and n.title like concat(concat('%', #{notice.title}), '%') |
||||
</if> |
||||
<if test="notice.category!=null"> |
||||
and n.category = #{notice.category} |
||||
</if> |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -1,11 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8107 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.dev.url} |
||||
username: ${blade.datasource.dev.username} |
||||
password: ${blade.datasource.dev.password} |
||||
|
||||
@ -1,10 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8107 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.prod.url} |
||||
username: ${blade.datasource.prod.username} |
||||
password: ${blade.datasource.prod.password} |
||||
@ -1,10 +0,0 @@ |
||||
#服务器端口 |
||||
server: |
||||
port: 8107 |
||||
|
||||
#数据源配置 |
||||
spring: |
||||
datasource: |
||||
url: ${blade.datasource.test.url} |
||||
username: ${blade.datasource.test.username} |
||||
password: ${blade.datasource.test.password} |
||||
Loading…
Reference in new issue