导购接口
parent
d37b78f846
commit
7318cf8ef7
@ -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);
|
||||||
|
}
|
Loading…
Reference in New Issue