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<XzxPlatformCapitalInfo>{
|
|
@Autowired private XzxPlatformCapitalInfoDao xzxPlatformCapitalInfoDao;
|
|
public PageQuery<XzxPlatformCapitalInfo>queryByCondition(PageQuery query){
|
PageQuery ret = xzxPlatformCapitalInfoDao.queryByCondition(query);
|
queryListAfter(ret.getList());
|
return ret;
|
}
|
|
public void batchDelXzxPlatformCapitalInfo(List<Long> ids){
|
try {
|
xzxPlatformCapitalInfoDao.batchDelXzxPlatformCapitalInfoByIds(ids);
|
} catch (Exception e) {
|
throw new PlatformException("批量删除XzxPlatformCapitalInfo失败", e);
|
}
|
}
|
}
|