| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.core.common.Cools; |
| | | import com.core.exception.CoolException; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public IPage<BasMap> pageLight(Page<BasMap> page, QueryWrapper<BasMap> wrapper) { |
| | | QueryWrapper<BasMap> queryWrapper = wrapper == null ? new QueryWrapper<>() : wrapper; |
| | | queryWrapper.select("id", "create_time", "update_time", "lev", "base_row", "base_row_code", "base_bay", "base_bay_code"); |
| | | return this.baseMapper.selectPage(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public BasMap selectPayloadById(Integer id) { |
| | | return this.baseMapper.selectPayloadById(id); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | public int syncLocMastByMap(Integer lev) { |
| | | if (lev == null || lev <= 0) { |