CustomerDetailMapper.java
719 Bytes
package cn.com.glsx.entmicro.mapper;
import cn.com.glsx.entmicro.entity.CustomerDetail;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface CustomerDetailMapper extends CommonBaseMapper<CustomerDetail> {
int batchUpdate(@Param("datalist")List<CustomerDetail> customerDetails);
int updateByCustId(CustomerDetail customerDetail);
CustomerDetail selectByCustomerId(@Param("customerId") Integer id);
List<CustomerDetail> selectByCustomerIds(@Param("customerIds") List<Integer> id);
List<CustomerDetail> selectByOneIds(@Param("oneIds") List<String> oneId);
}