Compare commits

...

4 commits

Author SHA1 Message Date
popJun fa1740449d
Merge pull request #12 from FJ-OMS/feature-wusc-20230224-structural
修改仓库变更逻辑,优化代码结构
2024-05-16 15:07:50 +08:00
popJun 873b0d1c07
Merge pull request #5 from FJ-OMS/feature-wusc-20230217-goods
优化商品分类展示
2024-05-16 15:07:21 +08:00
wushaochuan 51c1a1c327 修改仓库变更逻辑,优化代码结构 2024-05-16 15:06:10 +08:00
wushaochuan a94364d195 优化商品分类展示 2023-02-17 13:58:29 +08:00
31 changed files with 24 additions and 29 deletions

View file

@ -11,6 +11,7 @@ module.exports = {
plugins: ['dynamic-import-node'],
},
},
plugins: [
[
'import',

View file

@ -11,6 +11,7 @@ const config = {
* 字段权限 - 分页查询接口列表
* @organizationId : 0
*/
{
key: 'xxx',
url: '/v1/{organizationId}/apis',

View file

@ -8,10 +8,8 @@
*/
/* jshint esversion: 9 */
/**
*
* adjust record : 库存管理->异常库存管理
*
*
*/
import { generate } from '@/utils/request';

View file

@ -20,6 +20,7 @@ import warehouseRelationApi from './warehouseRelationApi';
import reserveRecordsApi from './reserveRecordsApi';
import distributeSpaceApi from './distributeSpaceApi';
/** 出入库通知/结果单 */
import noticeAndResultApi from './noticeAndResultApi';
import changeRecordApi from './changeRecordApi';
import initializeApi from './initializeApi';

View file

@ -19,6 +19,7 @@ import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
/**
* @description 售后服务自动配置
* @author bojiangzhou 2018/10/25
*/
@ComponentScan(value = {"org.hippius.wd", "org.skyer.afterSales.api", "org.skyer.afterSales.app",

View file

@ -12,7 +12,6 @@ import org.skyer.swagger.swagger.extra.ExtraDataManager;
/**
* 服务基本信息
*
* @author
*/
@SkyerExtraData

View file

@ -5,7 +5,6 @@ import org.skyer.channel.domain.entity.Group;
/**
* 资源库
*
* @author linzhuanghuang@ebc.com 2021-09-03 16:54:36
*/
public interface GroupRepository extends BaseRepository<Group> {

View file

@ -4,7 +4,6 @@ import org.skyer.channel.domain.entity.Group;
/**
* 应用服务
*
* @author linzhuanghuang@ebc.com 2021-09-03 16:54:36
*/
public interface GroupService {

View file

@ -26,6 +26,7 @@ import org.skyer.core.oauth.DetailsHelper;
import org.skyer.mybatis.pagehelper.domain.PageRequest;
/**
*
* @author: lzh
* @date: 2021-06-17
* @description:
@ -44,8 +45,6 @@ public class DealerServiceImpl implements DealerService {
dealer.setDealerCode(UUID.randomUUID().toString().replace("-", ""));
}
CustomUserDetails userDetails = DetailsHelper.getUserDetails();
logger.info("获取当前用户==============》" + userDetails);
logger.info("获取当前用户租户ID==============》" + userDetails.getTenantId());
Long tenantId = userDetails.getTenantId();
dealer.setTenantId(tenantId);
return dealerRepository.insert(dealer) > 0;

View file

@ -135,6 +135,9 @@ public class ShopServiceImpl implements ShopService {
@Override
@ProcessLovValue
public List<ChannelSaleOrderVO> queryChannelOrderSaleReport(ChannelSaleOrderDTO dto) {
if (dto == null) {
log.info("ChannelSaleOrderDTO 为空");
}
List<ChannelSaleOrderVO> channelSaleOrderVOS = shopRepository.queryChannelOrderSaleReport(dto);
//调用订单中心获取订单金额等数据
if (CollectionUtils.isEmpty(channelSaleOrderVOS)) {

View file

@ -12,6 +12,7 @@ import org.skyer.core.cache.Cacheable;
import org.skyer.starter.keyencrypt.core.Encrypt;
/**
*
* @author: lzh
* @date: 2021-06-18
* @description:

View file

@ -4,7 +4,6 @@ import java.util.Set;
/**
* 只读列表
*
* @author XCXCXCXCX
* @version 1.2.0
* @date 2019/12/5 7:41 下午

View file

@ -7,6 +7,7 @@ import java.util.HashMap;
import java.util.Map;
/**
*
* @author XCXCXCXCX
* @since 1.0
*/

View file

@ -13,6 +13,7 @@ import java.util.List;
import java.util.UUID;
/**
*
* @author XCXCXCXCX
* @date 2019/7/26
* @project skyer-org.skyer.gateway

View file

@ -21,7 +21,6 @@ import java.util.Collections;
/**
* 整体运维判断服务是否可用
*
* @author XCXCXCXCX
* @since 1.0
*/

View file

@ -10,6 +10,7 @@ import java.util.Arrays;
import java.util.List;
/**
*
* 仅允许动态构造必须由多个KeyResolver构成无需注入spring容器
*/
public class CombinedKeyResolver implements KeyResolver {

View file

@ -8,7 +8,6 @@ import javax.validation.constraints.NotNull;
/**
* 服务路由配置
*
* @author zhiying.dong@hand-china.com 2018-12-07 14:45:53
*/
public class ServiceRoute extends AuditDomain {

View file

@ -3,6 +3,7 @@ package org.skyer.gateway.util;
import java.util.Random;
/**
*
* @author XCXCXCXCX
* @date 2019/10/17
* @project skyer-gateway

View file

@ -50,13 +50,13 @@ public class CategoryController extends BaseController {
return Results.success();
}
// @ApiOperation(value = "修改商品分类表")
// @Permission(level = ResourceLevel.ORGANIZATION)
// @PostMapping("/update")
// public ResponseEntity<Category> update(@RequestBody Category category) {
// categoryRepository.updateByPrimaryKeySelective(category);
// return Results.success(category);
// }
@ApiOperation(value = "修改商品分类表")
@Permission(level = ResourceLevel.ORGANIZATION)
@PostMapping("/update")
public ResponseEntity<Category> update(@RequestBody Category category) {
categoryRepository.updateByPrimaryKeySelective(category);
return Results.success(category);
}
@ApiOperation(value = "修改商品状态")
@Permission(level = ResourceLevel.ORGANIZATION, permissionLogin = true)
@PostMapping("/update/status")

View file

@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
/**
* 商品分类属性表应用服务
*
* @author xurongfa 2021-12-24 09:12:57
*/
public interface CategoryAttributeService {

View file

@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
/**
* 加密工具(针对字符串,id等进行加密)
*
* @author chenzz
*/
public interface MyEncryptionService {

View file

@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
/**
* 应用服务
*
* @author zhanglongbing@ebc.com 2022-03-03 10:45:30
*/
public interface SkuPackageService {

View file

@ -2,7 +2,6 @@ package org.skyer.goods.app.service;
/**
* 属性值表应用服务
*
* @author linzhuanghuang@ebc.com 2021-12-28 16:40:03
*/
public interface SpuAttributeValueService {

View file

@ -277,6 +277,9 @@ public class SpuInstallServiceServiceImpl implements SpuInstallServiceService {
@Override
public Boolean update(SpuInstallServiceDTO spuInstallServiceDTO) {
if (spuInstallServiceDTO == null) {
throw new CommonException("spu为null请重新设置!");
}
if (!spuInstallServiceDTO.getIsAllStore() && CollUtil.isEmpty(spuInstallServiceDTO.getSpuStoreIds())) {
// 如果不是适用于所有店铺且店铺没有设置值返回错误
throw new CommonException("没有设置店铺!");

View file

@ -2,7 +2,6 @@ package org.skyer.order.app.service;
/**
* 售后单商品应用服务
*
* @author lzh 2022-03-16 10:55:40
*/
public interface AfterSaleItemService {

View file

@ -8,7 +8,6 @@ import java.util.Map;
/**
* 内部订单明细价格聚合应用服务
*
* @author wushaochuan 2022-01-18 14:34:54
*/
public interface ItemPriceService {

View file

@ -5,7 +5,6 @@ import org.skyer.order.domain.entity.Header;
/**
* 内部订单价格聚合应用服务
*
* @author wushaochuan 2022-01-18 14:34:54
*/
public interface PriceService {

View file

@ -2,7 +2,6 @@ package org.skyer.order.app.service;
/**
* 第三方平台订单应用服务
*
* @author wushaochuan 2022-01-18 14:34:55
*/
public interface ThirdPartyOrderService {

View file

@ -6,10 +6,7 @@ import springfox.documentation.service.Tag;
import springfox.documentation.spring.web.plugins.Docket;
/**
* <p>
* Swagger Api 描述配置
* </p>
*
* @author qingsheng.chen 2018/7/30 星期一 14:26
*/
@Configuration

View file

@ -21,6 +21,7 @@ import org.skyer.core.jackson.annotation.EnableObjectMapper;
import org.skyer.core.util.CommonExecutor;
/**
*
* @author bojiangzhou 2018/10/25
*/
@ComponentScan(value = {"org.hippius.wd", "org.skyer.tags.api", "org.skyer.tags.app",

View file

@ -27,7 +27,6 @@ import java.util.stream.Collectors;
/**
* 应用服务默认实现
*
* @author xurongfa 2022-01-22 11:33:07
*/
@Service