提交 b218a620 authored 作者: aiqingguo's avatar aiqingguo

积分配置优化包路径

上级 e0cc1ebf
package com.clx.performance.param.app.integral;
package com.clx.performance.param.pc.integral;
import com.clx.performance.vo.app.integral.AppIntegralRuleVO;
import com.clx.performance.vo.pc.integral.AppIntegralRuleVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
......
package com.clx.performance.param.app.integral;
package com.clx.performance.param.pc.integral;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
......
package com.clx.performance.param.app.integral;
package com.clx.performance.param.pc.integral;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
......
package com.clx.performance.param.app.integral;
package com.clx.performance.param.pc.integral;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
......
package com.clx.performance.param.app.integral;
package com.clx.performance.param.pc.integral;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
......
package com.clx.performance.param.app.integral;
package com.clx.performance.param.pc.integral;
import com.msl.common.base.PageParam;
import lombok.Getter;
......
package com.clx.performance.vo.app.integral;
package com.clx.performance.vo.pc.integral;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
......
package com.clx.performance.vo.app.integral;
package com.clx.performance.vo.pc.integral;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
......
package com.clx.performance.controller.app.integral;
package com.clx.performance.controller.pc.integral;
import com.clx.performance.param.app.integral.IntegralRuleUpdateParam;
import com.clx.performance.param.pc.integral.IntegralRuleUpdateParam;
import com.clx.performance.service.integral.IntegralRuleService;
import com.clx.performance.vo.app.integral.AppIntegralRuleVO;
import com.clx.performance.vo.pc.integral.AppIntegralRuleVO;
import com.msl.common.convertor.aspect.UnitCovert;
import com.msl.common.result.Result;
import io.swagger.annotations.Api;
......@@ -15,9 +15,9 @@ import org.springframework.web.bind.annotation.*;
@Slf4j
@RestController
@RequestMapping(value="/app/driver/integral/rule")
@RequestMapping(value="/pc/carrier/integral/rule")
@Validated
@Api(tags = "司机APP-积分记录")
@Api(tags = "司机APP-积分规则")
@AllArgsConstructor
public class IntegralRuleController {
......
package com.clx.performance.controller.app.integral;
package com.clx.performance.controller.pc.integral;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.enums.PerformanceResultEnum;
import com.clx.performance.param.app.collect.PageCollectLineReportParam;
import com.clx.performance.param.app.integral.*;
import com.clx.performance.param.pc.integral.*;
import com.clx.performance.service.integral.IntegralTruckRuleService;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
import com.msl.common.base.PageData;
import com.msl.common.convertor.aspect.UnitCovert;
import com.msl.common.exception.ServiceSystemException;
......@@ -22,7 +21,7 @@ import javax.validation.constraints.NotBlank;
@Slf4j
@RestController
@RequestMapping(value="/app/driver/integral/rule/truck")
@RequestMapping(value="/pc/carrier/integral/truck/rule")
@Validated
@Api(tags = "司机APP-积分记录")
@AllArgsConstructor
......
......@@ -5,8 +5,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.dao.integral.IntegralTruckRuleDao;
import com.clx.performance.mapper.integral.IntegralTruckRuleMapper;
import com.clx.performance.model.integral.IntegralTruckRule;
import com.clx.performance.param.app.integral.PageIntegralTruckRuleParam;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.param.pc.integral.PageIntegralTruckRuleParam;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
import com.msl.common.dao.impl.BaseDaoImpl;
import org.springframework.stereotype.Repository;
......
......@@ -3,8 +3,8 @@ package com.clx.performance.dao.integral;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.mapper.integral.IntegralTruckRuleMapper;
import com.clx.performance.model.integral.IntegralTruckRule;
import com.clx.performance.param.app.integral.PageIntegralTruckRuleParam;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.param.pc.integral.PageIntegralTruckRuleParam;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
import com.msl.common.dao.BaseDao;
import java.util.List;
......
......@@ -4,9 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.model.integral.IntegralTruckRule;
import com.clx.performance.param.app.integral.PageIntegralTruckRuleParam;
import com.clx.performance.param.pc.integral.PageIntegralTruckRuleParam;
import com.clx.performance.sqlProvider.integral.IntegralTruckRuleProvider;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
......@@ -22,7 +22,7 @@ import org.apache.ibatis.annotations.SelectProvider;
public interface IntegralTruckRuleMapper extends BaseMapper<IntegralTruckRule> {
/**
* @see IntegralTruckRuleProvider#pageRule(com.baomidou.mybatisplus.extension.plugins.pagination.Page, com.clx.performance.param.app.integral.PageIntegralTruckRuleParam)
* @see IntegralTruckRuleProvider#pageRule(com.baomidou.mybatisplus.extension.plugins.pagination.Page, PageIntegralTruckRuleParam)
*/
@SelectProvider(type = IntegralTruckRuleProvider.class, method = "pageRule")
IPage<AppIntegralTruckRuleVO> pageRule(@Param("page") Page<AppIntegralTruckRuleVO> page, @Param("param") PageIntegralTruckRuleParam param);
......
......@@ -4,9 +4,9 @@ import com.alibaba.fastjson.JSON;
import com.clx.performance.dao.integral.IntegralRuleDao;
import com.clx.performance.enums.PerformanceResultEnum;
import com.clx.performance.model.integral.IntegralRule;
import com.clx.performance.param.app.integral.IntegralRuleUpdateParam;
import com.clx.performance.param.pc.integral.IntegralRuleUpdateParam;
import com.clx.performance.service.integral.IntegralRuleService;
import com.clx.performance.vo.app.integral.AppIntegralRuleVO;
import com.clx.performance.vo.pc.integral.AppIntegralRuleVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......
......@@ -4,10 +4,10 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.dao.integral.IntegralTruckRuleDao;
import com.clx.performance.enums.PerformanceResultEnum;
import com.clx.performance.model.integral.IntegralTruckRule;
import com.clx.performance.param.app.integral.*;
import com.clx.performance.param.pc.integral.*;
import com.clx.performance.service.integral.IntegralTruckRuleService;
import com.clx.performance.struct.integral.IntegralTruckRuleStruct;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
import com.msl.common.exception.ServiceSystemException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
......
package com.clx.performance.service.integral;
import com.clx.performance.param.app.integral.IntegralRuleUpdateParam;
import com.clx.performance.vo.app.integral.AppIntegralRuleVO;
import com.clx.performance.param.pc.integral.IntegralRuleUpdateParam;
import com.clx.performance.vo.pc.integral.AppIntegralRuleVO;
public interface IntegralRuleService {
......
package com.clx.performance.service.integral;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.param.app.integral.*;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.param.pc.integral.*;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
public interface IntegralTruckRuleService {
......
......@@ -2,8 +2,8 @@ package com.clx.performance.sqlProvider.integral;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.param.app.integral.PageIntegralTruckRuleParam;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.param.pc.integral.PageIntegralTruckRuleParam;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.jdbc.SQL;
......
package com.clx.performance.struct.integral;
import com.clx.performance.model.integral.IntegralTruckRule;
import com.clx.performance.vo.app.integral.AppIntegralTruckRuleVO;
import com.clx.performance.vo.pc.integral.AppIntegralTruckRuleVO;
import com.msl.common.utils.DateStructUtil;
import com.msl.common.utils.DateUtils;
import org.mapstruct.Mapper;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论