mirror of
https://github.com/FJ-OMS/oms-erp.git
synced 2024-09-20 07:16:29 +08:00
修改仓库变更逻辑,优化代码结构
This commit is contained in:
parent
90bb29426b
commit
51c1a1c327
|
@ -11,6 +11,7 @@ module.exports = {
|
||||||
plugins: ['dynamic-import-node'],
|
plugins: ['dynamic-import-node'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
[
|
[
|
||||||
'import',
|
'import',
|
||||||
|
|
|
@ -11,6 +11,7 @@ const config = {
|
||||||
* 字段权限 - 分页查询接口列表
|
* 字段权限 - 分页查询接口列表
|
||||||
* @organizationId : 0
|
* @organizationId : 0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{
|
{
|
||||||
key: 'xxx',
|
key: 'xxx',
|
||||||
url: '/v1/{organizationId}/apis',
|
url: '/v1/{organizationId}/apis',
|
||||||
|
|
|
@ -8,10 +8,8 @@
|
||||||
*/
|
*/
|
||||||
/* jshint esversion: 9 */
|
/* jshint esversion: 9 */
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* adjust record : 库存管理->异常库存管理
|
* adjust record : 库存管理->异常库存管理
|
||||||
*
|
*
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { generate } from '@/utils/request';
|
import { generate } from '@/utils/request';
|
||||||
|
|
|
@ -20,6 +20,7 @@ import warehouseRelationApi from './warehouseRelationApi';
|
||||||
import reserveRecordsApi from './reserveRecordsApi';
|
import reserveRecordsApi from './reserveRecordsApi';
|
||||||
import distributeSpaceApi from './distributeSpaceApi';
|
import distributeSpaceApi from './distributeSpaceApi';
|
||||||
/** 出入库通知/结果单 */
|
/** 出入库通知/结果单 */
|
||||||
|
|
||||||
import noticeAndResultApi from './noticeAndResultApi';
|
import noticeAndResultApi from './noticeAndResultApi';
|
||||||
import changeRecordApi from './changeRecordApi';
|
import changeRecordApi from './changeRecordApi';
|
||||||
import initializeApi from './initializeApi';
|
import initializeApi from './initializeApi';
|
||||||
|
|
|
@ -19,6 +19,7 @@ import java.util.concurrent.ThreadPoolExecutor;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @description 售后服务自动配置
|
||||||
* @author bojiangzhou 2018/10/25
|
* @author bojiangzhou 2018/10/25
|
||||||
*/
|
*/
|
||||||
@ComponentScan(value = {"org.hippius.wd", "org.skyer.afterSales.api", "org.skyer.afterSales.app",
|
@ComponentScan(value = {"org.hippius.wd", "org.skyer.afterSales.api", "org.skyer.afterSales.app",
|
||||||
|
|
|
@ -12,7 +12,6 @@ import org.skyer.swagger.swagger.extra.ExtraDataManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 服务基本信息
|
* 服务基本信息
|
||||||
*
|
|
||||||
* @author
|
* @author
|
||||||
*/
|
*/
|
||||||
@SkyerExtraData
|
@SkyerExtraData
|
||||||
|
|
|
@ -5,7 +5,6 @@ import org.skyer.channel.domain.entity.Group;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 资源库
|
* 资源库
|
||||||
*
|
|
||||||
* @author linzhuanghuang@ebc.com 2021-09-03 16:54:36
|
* @author linzhuanghuang@ebc.com 2021-09-03 16:54:36
|
||||||
*/
|
*/
|
||||||
public interface GroupRepository extends BaseRepository<Group> {
|
public interface GroupRepository extends BaseRepository<Group> {
|
||||||
|
|
|
@ -4,7 +4,6 @@ import org.skyer.channel.domain.entity.Group;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 应用服务
|
* 应用服务
|
||||||
*
|
|
||||||
* @author linzhuanghuang@ebc.com 2021-09-03 16:54:36
|
* @author linzhuanghuang@ebc.com 2021-09-03 16:54:36
|
||||||
*/
|
*/
|
||||||
public interface GroupService {
|
public interface GroupService {
|
||||||
|
|
|
@ -26,6 +26,7 @@ import org.skyer.core.oauth.DetailsHelper;
|
||||||
import org.skyer.mybatis.pagehelper.domain.PageRequest;
|
import org.skyer.mybatis.pagehelper.domain.PageRequest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @author: lzh
|
* @author: lzh
|
||||||
* @date: 2021-06-17
|
* @date: 2021-06-17
|
||||||
* @description:
|
* @description:
|
||||||
|
|
|
@ -12,6 +12,7 @@ import org.skyer.core.cache.Cacheable;
|
||||||
import org.skyer.starter.keyencrypt.core.Encrypt;
|
import org.skyer.starter.keyencrypt.core.Encrypt;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @author: lzh
|
* @author: lzh
|
||||||
* @date: 2021-06-18
|
* @date: 2021-06-18
|
||||||
* @description:
|
* @description:
|
||||||
|
|
|
@ -4,7 +4,6 @@ import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 只读列表
|
* 只读列表
|
||||||
*
|
|
||||||
* @author XCXCXCXCX
|
* @author XCXCXCXCX
|
||||||
* @version 1.2.0
|
* @version 1.2.0
|
||||||
* @date 2019/12/5 7:41 下午
|
* @date 2019/12/5 7:41 下午
|
||||||
|
|
|
@ -7,6 +7,7 @@ import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @author XCXCXCXCX
|
* @author XCXCXCXCX
|
||||||
* @since 1.0
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -13,6 +13,7 @@ import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @author XCXCXCXCX
|
* @author XCXCXCXCX
|
||||||
* @date 2019/7/26
|
* @date 2019/7/26
|
||||||
* @project skyer-org.skyer.gateway
|
* @project skyer-org.skyer.gateway
|
||||||
|
|
|
@ -21,7 +21,6 @@ import java.util.Collections;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 整体运维,判断服务是否可用
|
* 整体运维,判断服务是否可用
|
||||||
*
|
|
||||||
* @author XCXCXCXCX
|
* @author XCXCXCXCX
|
||||||
* @since 1.0
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -10,6 +10,7 @@ import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* 仅允许动态构造(必须由多个KeyResolver构成),无需注入spring容器
|
* 仅允许动态构造(必须由多个KeyResolver构成),无需注入spring容器
|
||||||
*/
|
*/
|
||||||
public class CombinedKeyResolver implements KeyResolver {
|
public class CombinedKeyResolver implements KeyResolver {
|
||||||
|
|
|
@ -8,7 +8,6 @@ import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 服务路由配置
|
* 服务路由配置
|
||||||
*
|
|
||||||
* @author zhiying.dong@hand-china.com 2018-12-07 14:45:53
|
* @author zhiying.dong@hand-china.com 2018-12-07 14:45:53
|
||||||
*/
|
*/
|
||||||
public class ServiceRoute extends AuditDomain {
|
public class ServiceRoute extends AuditDomain {
|
||||||
|
|
|
@ -3,6 +3,7 @@ package org.skyer.gateway.util;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @author XCXCXCXCX
|
* @author XCXCXCXCX
|
||||||
* @date 2019/10/17
|
* @date 2019/10/17
|
||||||
* @project skyer-gateway
|
* @project skyer-gateway
|
||||||
|
|
|
@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 商品分类属性表应用服务
|
* 商品分类属性表应用服务
|
||||||
*
|
|
||||||
* @author xurongfa 2021-12-24 09:12:57
|
* @author xurongfa 2021-12-24 09:12:57
|
||||||
*/
|
*/
|
||||||
public interface CategoryAttributeService {
|
public interface CategoryAttributeService {
|
||||||
|
|
|
@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 加密工具(针对字符串,id等进行加密)
|
* 加密工具(针对字符串,id等进行加密)
|
||||||
*
|
|
||||||
* @author chenzz
|
* @author chenzz
|
||||||
*/
|
*/
|
||||||
public interface MyEncryptionService {
|
public interface MyEncryptionService {
|
||||||
|
|
|
@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 应用服务
|
* 应用服务
|
||||||
*
|
|
||||||
* @author zhanglongbing@ebc.com 2022-03-03 10:45:30
|
* @author zhanglongbing@ebc.com 2022-03-03 10:45:30
|
||||||
*/
|
*/
|
||||||
public interface SkuPackageService {
|
public interface SkuPackageService {
|
||||||
|
|
|
@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 属性值表应用服务
|
* 属性值表应用服务
|
||||||
*
|
|
||||||
* @author linzhuanghuang@ebc.com 2021-12-28 16:40:03
|
* @author linzhuanghuang@ebc.com 2021-12-28 16:40:03
|
||||||
*/
|
*/
|
||||||
public interface SpuAttributeValueService {
|
public interface SpuAttributeValueService {
|
||||||
|
|
|
@ -2,7 +2,6 @@ package org.skyer.order.app.service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 售后单商品应用服务
|
* 售后单商品应用服务
|
||||||
*
|
|
||||||
* @author lzh 2022-03-16 10:55:40
|
* @author lzh 2022-03-16 10:55:40
|
||||||
*/
|
*/
|
||||||
public interface AfterSaleItemService {
|
public interface AfterSaleItemService {
|
||||||
|
|
|
@ -8,7 +8,6 @@ import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 内部订单明细价格(聚合)应用服务
|
* 内部订单明细价格(聚合)应用服务
|
||||||
*
|
|
||||||
* @author wushaochuan 2022-01-18 14:34:54
|
* @author wushaochuan 2022-01-18 14:34:54
|
||||||
*/
|
*/
|
||||||
public interface ItemPriceService {
|
public interface ItemPriceService {
|
||||||
|
|
|
@ -5,7 +5,6 @@ import org.skyer.order.domain.entity.Header;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 内部订单价格(聚合)应用服务
|
* 内部订单价格(聚合)应用服务
|
||||||
*
|
|
||||||
* @author wushaochuan 2022-01-18 14:34:54
|
* @author wushaochuan 2022-01-18 14:34:54
|
||||||
*/
|
*/
|
||||||
public interface PriceService {
|
public interface PriceService {
|
||||||
|
|
|
@ -2,7 +2,6 @@ package org.skyer.order.app.service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 第三方平台订单应用服务
|
* 第三方平台订单应用服务
|
||||||
*
|
|
||||||
* @author wushaochuan 2022-01-18 14:34:55
|
* @author wushaochuan 2022-01-18 14:34:55
|
||||||
*/
|
*/
|
||||||
public interface ThirdPartyOrderService {
|
public interface ThirdPartyOrderService {
|
||||||
|
|
|
@ -6,10 +6,7 @@ import springfox.documentation.service.Tag;
|
||||||
import springfox.documentation.spring.web.plugins.Docket;
|
import springfox.documentation.spring.web.plugins.Docket;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
|
||||||
* Swagger Api 描述配置
|
* Swagger Api 描述配置
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author qingsheng.chen 2018/7/30 星期一 14:26
|
* @author qingsheng.chen 2018/7/30 星期一 14:26
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
|
|
|
@ -21,6 +21,7 @@ import org.skyer.core.jackson.annotation.EnableObjectMapper;
|
||||||
import org.skyer.core.util.CommonExecutor;
|
import org.skyer.core.util.CommonExecutor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @author bojiangzhou 2018/10/25
|
* @author bojiangzhou 2018/10/25
|
||||||
*/
|
*/
|
||||||
@ComponentScan(value = {"org.hippius.wd", "org.skyer.tags.api", "org.skyer.tags.app",
|
@ComponentScan(value = {"org.hippius.wd", "org.skyer.tags.api", "org.skyer.tags.app",
|
||||||
|
|
|
@ -27,7 +27,6 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 应用服务默认实现
|
* 应用服务默认实现
|
||||||
*
|
|
||||||
* @author xurongfa 2022-01-22 11:33:07
|
* @author xurongfa 2022-01-22 11:33:07
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
|
|
Loading…
Reference in a new issue