Helius
2021-06-16 5728be2af515b2200e782aa201ca5d4d67d9ea47
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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<XzxUserOtherInfo>{
 
    @Autowired private XzxUserOtherInfoDao xzxUserOtherInfoDao;
 
    public PageQuery<XzxUserOtherInfo>queryByCondition(PageQuery query){
        PageQuery ret =  xzxUserOtherInfoDao.queryByCondition(query);
        queryListAfter(ret.getList());
        return ret;
    }
 
    public void batchDelXzxUserOtherInfo(List<Long> ids){
        try {
            xzxUserOtherInfoDao.batchDelXzxUserOtherInfoByIds(ids);
        } catch (Exception e) {
            throw new PlatformException("批量删除XzxUserOtherInfo失败", e);
        }
    }
}