| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.framework.exception.CoolException; |
| | | import com.vincent.rsf.server.api.controller.erp.params.BaseMatParms; |
| | | import com.vincent.rsf.server.api.controller.erp.params.OrderParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.QueryOrderParam; |
| | | import com.vincent.rsf.server.api.controller.erp.params.SyncLocsParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.*; |
| | | import com.vincent.rsf.server.api.service.ReceiveMsgService; |
| | | import com.vincent.rsf.server.common.domain.BaseParam; |
| | | import com.vincent.rsf.server.common.domain.PageParam; |
| | |
| | | return receiveMsgService.syncLocs(locs); |
| | | } |
| | | |
| | | /** |
| | | * @author Ryan |
| | | * @date 2025/8/18 |
| | | * @description: 物料分组信息同步 |
| | | * @version 1.0 |
| | | */ |
| | | @PostMapping("/sync/matGroups") |
| | | @ApiOperation(value = "物料分组信息同步", tags = "基础信息同步") |
| | | public R syncMatGroup(@RequestBody List<SyncMatGroupsParams> matGroupsParams) { |
| | | if (matGroupsParams.isEmpty()) { |
| | | throw new CoolException("参数不能为空!!"); |
| | | } |
| | | return receiveMsgService.syncMatGroups(matGroupsParams); |
| | | } |
| | | |
| | | |
| | | |
| | | } |