| | |
| | | import cn.gistack.sm.sjztmd.vo.PersonVO; |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.core.tool.utils.ObjectUtil; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Comparator; |
| | |
| | | public class AttAdBaseServiceImpl extends ServiceImpl<AttAdBaseMapper, AttAdBase> implements IAttAdBaseService { |
| | | @Override |
| | | public List<AttAdBaseVO> lazyTree(String parentCode, Map<String, Object> param) { |
| | | |
| | | Object isYwxt = param.get("isYwxt"); |
| | | if (ObjectUtil.isNotEmpty(isYwxt)){ |
| | | List<AttAdBaseVO> attAdBaseVOS = baseMapper.lazyTreeYwxt(parentCode,param); |
| | | return attAdBaseVOS; |
| | | } |
| | | |
| | | List<AttAdBaseVO> attAdBaseVOS = baseMapper.lazyTree(parentCode, param); |
| | | return attAdBaseVOS; |
| | | } |
| | |
| | | return baseMapper.getAdGradByAdCode(adCode); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean save(AttAdBase entity) { |
| | | return baseMapper.customizeSave(entity); |