|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
package com.glxp.api.service.basic.impl;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
|
|
import cn.hutool.core.util.BooleanUtil;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
|
|
import com.glxp.api.dao.basic.BasicCorpDao;
|
|
|
|
|
import com.glxp.api.entity.basic.BasicCorpEntity;
|
|
|
|
|
import com.glxp.api.req.basic.BasicUnitMaintainFilterRequest;
|
|
|
|
|
import com.glxp.api.res.thrsys.ThrCorpsResponse;
|
|
|
|
|
import com.glxp.api.res.thrsys.ThrUnitMaintainResponse;
|
|
|
|
|
import com.glxp.api.service.basic.BasicCorpService;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
@ -52,7 +50,7 @@ public class BasicCorpServiceImpl extends ServiceImpl<BasicCorpDao, BasicCorpEnt
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean insert(BasicCorpEntity basicUnitMaintainEntity) {
|
|
|
|
|
return basicCorpDao.insert(basicUnitMaintainEntity) == 0 ? false : true;
|
|
|
|
|
return basicCorpDao.insertEntity(basicUnitMaintainEntity) == 0 ? false : true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|