ty
5 months ago
868 changed files with 3872 additions and 3110 deletions
@ -1,14 +1,15 @@ |
|||||||
package com.hnac.hzims.spare.service; |
package com.hnac.hzims.spare.service; |
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.spare.entity.SpRecordEntity; |
import com.hnac.hzims.spare.entity.SpRecordEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
/** |
/** |
||||||
* 服务类 |
* 服务类 |
||||||
* |
* |
||||||
* @author Chill |
* @author Chill |
||||||
*/ |
*/ |
||||||
public interface ISpRecordService extends BaseService<SpRecordEntity> { |
public interface ISpRecordService extends IService<SpRecordEntity> { |
||||||
|
|
||||||
} |
} |
||||||
|
@ -1,14 +1,15 @@ |
|||||||
package com.hnac.hzims.spare.service; |
package com.hnac.hzims.spare.service; |
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.spare.entity.SpRevertEntity; |
import com.hnac.hzims.spare.entity.SpRevertEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
/** |
/** |
||||||
* 服务类 |
* 服务类 |
||||||
* |
* |
||||||
* @author Chill |
* @author Chill |
||||||
*/ |
*/ |
||||||
public interface ISpRevertService extends BaseService<SpRevertEntity> { |
public interface ISpRevertService extends IService<SpRevertEntity> { |
||||||
|
|
||||||
} |
} |
||||||
|
@ -1,14 +1,14 @@ |
|||||||
package com.hnac.hzims.spare.service; |
package com.hnac.hzims.spare.service; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.spare.entity.WtSpProviderEntity; |
import com.hnac.hzims.spare.entity.WtSpProviderEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
/** |
/** |
||||||
* 服务类 |
* 服务类 |
||||||
* |
* |
||||||
* @author Chill |
* @author Chill |
||||||
*/ |
*/ |
||||||
public interface IWtSpProviderService extends BaseService<WtSpProviderEntity> { |
public interface IWtSpProviderService extends IService<WtSpProviderEntity> { |
||||||
|
|
||||||
} |
} |
||||||
|
@ -1,44 +0,0 @@ |
|||||||
|
|
||||||
#服务器端口 |
|
||||||
server: |
|
||||||
port: 8599 |
|
||||||
|
|
||||||
#数据源配置 |
|
||||||
#spring: |
|
||||||
# datasource: |
|
||||||
# url: ${blade.datasource.dev.url} |
|
||||||
# username: ${blade.datasource.dev.username} |
|
||||||
# password: ${blade.datasource.dev.password} |
|
||||||
|
|
||||||
spring: |
|
||||||
#排除DruidDataSourceAutoConfigure |
|
||||||
autoconfigure: |
|
||||||
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
|
||||||
datasource: |
|
||||||
dynamic: |
|
||||||
#设置默认的数据源或者数据源组,默认值即为master |
|
||||||
primary: master |
|
||||||
datasource: |
|
||||||
master: |
|
||||||
url: jdbc:mysql://175.6.40.67:5816/dev_hzims_assets?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
|
||||||
username: root |
|
||||||
password: 123 |
|
||||||
slave: |
|
||||||
url: jdbc:mysql://175.6.40.67:5816/dev_hzims_assets?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
|
||||||
username: root |
|
||||||
password: 123 |
|
||||||
|
|
||||||
#xxl: |
|
||||||
# job: |
|
||||||
# accessToken: '' |
|
||||||
# admin: |
|
||||||
# addresses: http://192.168.1.25:7009/xxl-job-admin |
|
||||||
# executor: |
|
||||||
# appname: hzims-equipment |
|
||||||
# ip: 192.168.1.28 |
|
||||||
# logpath: /data/applogs/xxl-job/jobhandler |
|
||||||
# logretentiondays: -1 |
|
||||||
# port: 28210 |
|
||||||
|
|
||||||
demo: |
|
||||||
name: aaa |
|
@ -1,28 +0,0 @@ |
|||||||
#服务器端口 |
|
||||||
server: |
|
||||||
port: 8200 |
|
||||||
|
|
||||||
#数据源配置 |
|
||||||
#spring: |
|
||||||
# datasource: |
|
||||||
# url: ${blade.datasource.prod.url} |
|
||||||
# username: ${blade.datasource.prod.username} |
|
||||||
# password: ${blade.datasource.prod.password} |
|
||||||
|
|
||||||
spring: |
|
||||||
#排除DruidDataSourceAutoConfigure |
|
||||||
autoconfigure: |
|
||||||
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
|
||||||
datasource: |
|
||||||
dynamic: |
|
||||||
#设置默认的数据源或者数据源组,默认值即为master |
|
||||||
primary: master |
|
||||||
datasource: |
|
||||||
master: |
|
||||||
url: ${blade.datasource.demo.master.url} |
|
||||||
username: ${blade.datasource.demo.master.username} |
|
||||||
password: ${blade.datasource.demo.master.password} |
|
||||||
slave: |
|
||||||
url: ${blade.datasource.demo.slave.url} |
|
||||||
username: ${blade.datasource.demo.slave.username} |
|
||||||
password: ${blade.datasource.demo.slave.password} |
|
@ -1,28 +0,0 @@ |
|||||||
#服务器端口 |
|
||||||
server: |
|
||||||
port: 8200 |
|
||||||
|
|
||||||
#数据源配置 |
|
||||||
#spring: |
|
||||||
# datasource: |
|
||||||
# url: ${blade.datasource.test.url} |
|
||||||
# username: ${blade.datasource.test.username} |
|
||||||
# password: ${blade.datasource.test.password} |
|
||||||
|
|
||||||
spring: |
|
||||||
#排除DruidDataSourceAutoConfigure |
|
||||||
autoconfigure: |
|
||||||
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
|
||||||
datasource: |
|
||||||
dynamic: |
|
||||||
#设置默认的数据源或者数据源组,默认值即为master |
|
||||||
primary: master |
|
||||||
datasource: |
|
||||||
master: |
|
||||||
url: ${blade.datasource.demo.master.url} |
|
||||||
username: ${blade.datasource.demo.master.username} |
|
||||||
password: ${blade.datasource.demo.master.password} |
|
||||||
slave: |
|
||||||
url: ${blade.datasource.demo.slave.url} |
|
||||||
username: ${blade.datasource.demo.slave.username} |
|
||||||
password: ${blade.datasource.demo.slave.password} |
|
@ -1,24 +0,0 @@ |
|||||||
#mybatis-plus配置 |
|
||||||
mybatis-plus: |
|
||||||
mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml |
|
||||||
#实体扫描,多个package用逗号或者分号分隔 |
|
||||||
typeAliasesPackage: com.hnac.hzims.**.entity |
|
||||||
|
|
||||||
#swagger扫描路径配置 |
|
||||||
swagger: |
|
||||||
base-packages: |
|
||||||
- org.springbalde |
|
||||||
- com.hnac |
|
||||||
|
|
||||||
#oss配置 |
|
||||||
oss: |
|
||||||
enabled: true |
|
||||||
name: minio |
|
||||||
tenant-mode: false |
|
||||||
endpoint: http://127.0.0.1:9000 |
|
||||||
access-key: D99KGE6ZTQXSATTJWU24 |
|
||||||
secret-key: QyVqGnhIQQE734UYSUFlGOZViE6+ZlDEfUG3NjhJ |
|
||||||
bucket-name: bladex |
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,69 @@ |
|||||||
|
|
||||||
|
#服务器端口 |
||||||
|
server: |
||||||
|
port: 8599 |
||||||
|
|
||||||
|
|
||||||
|
#mybatis-plus配置 |
||||||
|
mybatis-plus: |
||||||
|
mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml |
||||||
|
#实体扫描,多个package用逗号或者分号分隔 |
||||||
|
typeAliasesPackage: com.hnac.hzims.**.entity |
||||||
|
|
||||||
|
#数据源配置 |
||||||
|
#spring: |
||||||
|
# datasource: |
||||||
|
# url: ${blade.datasource.dev.url} |
||||||
|
# username: ${blade.datasource.dev.username} |
||||||
|
# password: ${blade.datasource.dev.password} |
||||||
|
|
||||||
|
spring: |
||||||
|
#排除DruidDataSourceAutoConfigure |
||||||
|
autoconfigure: |
||||||
|
exclude: com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
||||||
|
datasource: |
||||||
|
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_assets?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
||||||
|
username: ${hzinfo.db.busines.username} |
||||||
|
password: ${hzinfo.db.busines.password} |
||||||
|
#swagger扫描路径配置 |
||||||
|
swagger: |
||||||
|
base-packages: com.hnac.hzims.spare |
||||||
|
|
||||||
|
#oss配置 |
||||||
|
oss: |
||||||
|
endpoint: "${hzinfo.oss.endpoint}" |
||||||
|
access-key: "${hzinfo.oss.access-key}" |
||||||
|
secret-key: "${hzinfo.oss.secret-key}" |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
xxl: |
||||||
|
job: |
||||||
|
accessToken: '' |
||||||
|
admin: |
||||||
|
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" |
||||||
|
executor: |
||||||
|
appname: hzims-safeproduct |
||||||
|
ip: "${hzims.server.ip}" |
||||||
|
logpath: /data/applogs/xxl-job/jobhandler |
||||||
|
logretentiondays: 7 |
||||||
|
port: 28599 |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#xxl: |
||||||
|
# job: |
||||||
|
# accessToken: '' |
||||||
|
# admin: |
||||||
|
# addresses: http://192.168.1.25:7009/xxl-job-admin |
||||||
|
# executor: |
||||||
|
# appname: hzims-equipment |
||||||
|
# ip: 192.168.1.28 |
||||||
|
# logpath: /data/applogs/xxl-job/jobhandler |
||||||
|
# logretentiondays: -1 |
||||||
|
# port: 28210 |
||||||
|
|
||||||
|
demo: |
||||||
|
name: aaa |
@ -1,7 +1,8 @@ |
|||||||
package com.hnac.hzims.emParam.service; |
package com.hnac.hzims.emParam.service; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.emParam.entity.ParamModelEntity; |
import com.hnac.hzims.emParam.entity.ParamModelEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
public interface IParamModelService extends BaseService<ParamModelEntity> { |
|
||||||
|
public interface IParamModelService extends IService<ParamModelEntity> { |
||||||
} |
} |
||||||
|
@ -1,17 +1,18 @@ |
|||||||
package com.hnac.hzims.emParam.service.impl; |
package com.hnac.hzims.emParam.service.impl; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
import com.hnac.hzims.emParam.entity.ParamModelEntity; |
import com.hnac.hzims.emParam.entity.ParamModelEntity; |
||||||
import com.hnac.hzims.emParam.mapper.ParamModelMapper; |
import com.hnac.hzims.emParam.mapper.ParamModelMapper; |
||||||
import com.hnac.hzims.emParam.service.IParamModelService; |
import com.hnac.hzims.emParam.service.IParamModelService; |
||||||
import lombok.AllArgsConstructor; |
import lombok.AllArgsConstructor; |
||||||
import lombok.extern.slf4j.Slf4j; |
import lombok.extern.slf4j.Slf4j; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
import org.springblade.core.mp.base.BaseServiceImpl; |
|
||||||
import org.springframework.stereotype.Service; |
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
@Service |
@Service |
||||||
@AllArgsConstructor |
@AllArgsConstructor |
||||||
@Slf4j |
@Slf4j |
||||||
public class ParamModelServiceImpl extends BaseServiceImpl<ParamModelMapper, ParamModelEntity> implements IParamModelService { |
public class ParamModelServiceImpl extends ServiceImpl<ParamModelMapper, ParamModelEntity> implements IParamModelService { |
||||||
|
|
||||||
} |
} |
||||||
|
@ -1,11 +1,12 @@ |
|||||||
package com.hnac.hzims.equipment.service; |
package com.hnac.hzims.equipment.service; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.equipment.entity.EmAssociationDetailEntity; |
import com.hnac.hzims.equipment.entity.EmAssociationDetailEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
import java.util.Map; |
import java.util.Map; |
||||||
|
|
||||||
public interface IEmAssociationDetailService extends BaseService<EmAssociationDetailEntity> { |
public interface IEmAssociationDetailService extends IService<EmAssociationDetailEntity> { |
||||||
|
|
||||||
|
|
||||||
} |
} |
||||||
|
@ -1,7 +1,8 @@ |
|||||||
package com.hnac.hzims.equipment.service; |
package com.hnac.hzims.equipment.service; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.equipment.entity.EmDefinitionEntity; |
import com.hnac.hzims.equipment.entity.EmDefinitionEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
public interface IEmDefinitionService extends BaseService<EmDefinitionEntity> { |
|
||||||
|
public interface IEmDefinitionService extends IService<EmDefinitionEntity> { |
||||||
} |
} |
||||||
|
@ -1,7 +1,8 @@ |
|||||||
package com.hnac.hzims.equipment.service; |
package com.hnac.hzims.equipment.service; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.equipment.entity.EmTreeBasicEntity; |
import com.hnac.hzims.equipment.entity.EmTreeBasicEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
public interface IEmTreeBasicService extends BaseService<EmTreeBasicEntity> { |
|
||||||
|
public interface IEmTreeBasicService extends IService<EmTreeBasicEntity> { |
||||||
} |
} |
||||||
|
@ -1,7 +1,8 @@ |
|||||||
package com.hnac.hzims.equipment.service; |
package com.hnac.hzims.equipment.service; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||||
import com.hnac.hzims.equipment.entity.EmTreeParamEntity; |
import com.hnac.hzims.equipment.entity.EmTreeParamEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
|
|
||||||
public interface IEmTreeParamService extends BaseService<EmTreeParamEntity> { |
|
||||||
|
public interface IEmTreeParamService extends IService<EmTreeParamEntity> { |
||||||
} |
} |
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue