| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import cn.exrick.xboot.your.entity.Customer; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Result; |
| | | import org.apache.ibatis.annotations.Results; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.type.JdbcType; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 商户表数据处理层 |
| | |
| | | |
| | | @Select("select sum(login_num) from t_customer") |
| | | int sumLogin(); |
| | | |
| | | @Select("SELECT a.*,b.name as temp FROM t_customer a,t_customer b where a.like_cusotmer_id=b.id") |
| | | @Results({@Result(column="temp", property="code", jdbcType = JdbcType.VARCHAR)}) |
| | | List<Customer> getYiHuDuoZheng(); |
| | | } |