| | |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.core.annotations.ManagerAuth; |
| | | import com.core.common.BaseRes; |
| | | import com.core.common.Cools; |
| | | import com.core.common.DateUtils; |
| | | import com.core.common.R; |
| | |
| | | List<InOut> list = inOutService.selectList(wrapper); |
| | | return R.ok(exportSupport(list, fields)); |
| | | } |
| | | |
| | | @RequestMapping(value = "/matInOut/delete/auth") |
| | | @ManagerAuth(memo = "商品信息批量删除") |
| | | public R delete(@RequestBody List<InOut> inOutList){ |
| | | if (Cools.isEmpty(inOutList)){ |
| | | return R.error(BaseRes.PARAM); |
| | | } |
| | | inOutService.deleteInOut(inOutList); |
| | | return R.ok(); |
| | | } |
| | | } |