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