package com.ibeetl.admin.console.service; import com.ibeetl.admin.console.dao.XzxUserOtherInfoDao; import com.ibeetl.admin.core.entity.XzxUserOtherInfo; import com.ibeetl.admin.core.service.CoreBaseService; import com.ibeetl.admin.core.util.PlatformException; import org.beetl.sql.core.engine.PageQuery; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * XzxUserOtherInfo Service */ @Service @Transactional public class XzxUserOtherInfoService extends CoreBaseService{ @Autowired private XzxUserOtherInfoDao xzxUserOtherInfoDao; public PageQueryqueryByCondition(PageQuery query){ PageQuery ret = xzxUserOtherInfoDao.queryByCondition(query); queryListAfter(ret.getList()); return ret; } public void batchDelXzxUserOtherInfo(List ids){ try { xzxUserOtherInfoDao.batchDelXzxUserOtherInfoByIds(ids); } catch (Exception e) { throw new PlatformException("批量删除XzxUserOtherInfo失败", e); } } }