导购接口

dev_0531
zyy 5 years ago
parent d37b78f846
commit 7318cf8ef7

@ -213,6 +213,12 @@
<groupId>com.github.pagehelper</groupId> <groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId> <artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.5</version> <version>1.2.5</version>
<exclusions>
<exclusion>
<artifactId>mybatis-spring-boot-starter</artifactId>
<groupId>org.mybatis.spring.boot</groupId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!--pinyin 4j--> <!--pinyin 4j-->

@ -50,6 +50,7 @@ import java.util.List;
*/ */
@Service @Service
public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMapper, PmnPromotionSrc> implements IPmnPromotionSrcService { public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMapper, PmnPromotionSrc> implements IPmnPromotionSrcService {
@Autowired @Autowired
private StoreEmployeeService storeEmployeeService; private StoreEmployeeService storeEmployeeService;
@Autowired @Autowired
@ -57,12 +58,8 @@ public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMap
@Autowired @Autowired
private PoiStoreDOMapper poiStoreDOMapper; private PoiStoreDOMapper poiStoreDOMapper;
@Autowired @Autowired
private PrivilageCpUserDOMapper privilageCpUserDOMapper;
@Autowired
private IPmnActivityInstanceService pmnActivityInstanceService; private IPmnActivityInstanceService pmnActivityInstanceService;
@Autowired @Autowired
private PrivilageCpUserStoreDOMapper privilageCpUserStoreDOMapper;
@Autowired
private PrivilageUserDOMapper privilageUserDOMapper; private PrivilageUserDOMapper privilageUserDOMapper;
@Autowired @Autowired
private PrivilageAccountService privilageAccountService; private PrivilageAccountService privilageAccountService;

@ -0,0 +1,27 @@
package com.kiisoo.ic.promotion.entity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
public class PmnPromotionSrcVO {
private String name;
private String staffCode;
private String mobile;
private String storeName;
private int type;
private String code;
/*
*
*/
@ApiModelProperty(value = "分页总条数", hidden = true)
private long totalSize;
/**序号*/
@ApiModelProperty(value = "序号", hidden = true)
private int number;
}

@ -0,0 +1,15 @@
package com.kiisoo.ic.promotion.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kiisoo.ic.activity.entity.PmnPromotionSrc;
import com.kiisoo.ic.promotion.entity.PmnPromotionSrcVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PmnPromotionSrcMapper extends BaseMapper<PmnPromotionSrc> {
List<PmnPromotionSrcVO> queryList(@Param("instanceId") Long instanceId, @Param("storeId") Long storeId);
}

@ -8,7 +8,7 @@
spring: spring:
profiles: profiles:
active: $profiles.active$ active: dev
mvc: mvc:
view: view:
prefix: / prefix: /

Loading…
Cancel
Save