mark for pull
This commit is contained in:
@@ -12,6 +12,7 @@ import com.cnbm.dispatch.enums.kuka.step3.Step3Plc2MesVar;
|
||||
import com.cnbm.packing.dto.CamlineSubIdDTO;
|
||||
import com.cnbm.packing.dto.CamlineSubIdForImportDTO;
|
||||
import com.cnbm.packing.dto.PowerReportDTO;
|
||||
import com.cnbm.packing.dto.WoCompensationPowerDTO;
|
||||
import com.cnbm.packing.entity.WoPackagingBoxSubstrate;
|
||||
import com.cnbm.packing.mapper.WoPackagingBoxSubstrateMapper;
|
||||
import com.cnbm.packing.param.PowerReportQueryParam;
|
||||
@@ -144,8 +145,8 @@ public class TestController {
|
||||
|
||||
|
||||
@PostMapping("/forImport")
|
||||
public R forImport() throws UnsupportedEncodingException, ParseException {
|
||||
List<CamlineSubIdForImportDTO> alllCamlineSubForImp = service.getAlllCamlineSubForImp();
|
||||
public R forImport(@RequestBody WoCompensationPowerDTO dto) throws UnsupportedEncodingException, ParseException {
|
||||
List<CamlineSubIdForImportDTO> alllCamlineSubForImp = service.getAlllCamlineSubForImp(dto.getRemark().split(","));
|
||||
for(CamlineSubIdForImportDTO cam:alllCamlineSubForImp){
|
||||
WoPackagingBoxSubstrate woPackagingBoxSubstrate = new WoPackagingBoxSubstrate();
|
||||
woPackagingBoxSubstrate.setWoSubstrateId(cam.getSubId());
|
||||
@@ -158,6 +159,15 @@ public class TestController {
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
// @PostMapping("/forImport")
|
||||
// public R forImport(@RequestBody WoCompensationPowerDTO dto) throws UnsupportedEncodingException, ParseException {
|
||||
// System.out.println(dto.getRemark());
|
||||
//
|
||||
// List<CamlineSubIdForImportDTO> alllCamlineSubForImp = service.getAlllCamlineSubForImp(dto.getRemark().split(","));
|
||||
//
|
||||
// return R.ok().put("data",alllCamlineSubForImp);
|
||||
// }
|
||||
|
||||
@PostMapping("/forTestMix")
|
||||
public R forTestMix() throws UnsupportedEncodingException, ParseException {
|
||||
String[] s = new String[20];
|
||||
|
||||
Reference in New Issue
Block a user