package com.ibeetl.admin.console.service; import com.ibeetl.admin.console.dao.XzxAccountInfoDao; import com.ibeetl.admin.core.entity.XzxAccountInfo; 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; /** * XzxAccountInfo Service */ @Service @Transactional public class XzxAccountInfoService extends CoreBaseService{ @Autowired private XzxAccountInfoDao xzxAccountInfoDao; public PageQueryqueryByCondition(PageQuery query){ PageQuery ret = xzxAccountInfoDao.queryByCondition(query); queryListAfter(ret.getList()); return ret; } public void batchDelXzxAccountInfo(List ids){ try { xzxAccountInfoDao.batchDelXzxAccountInfoByIds(ids); } catch (Exception e) { throw new PlatformException("批量删除XzxAccountInfo失败", e); } } }