|
@@ -174,6 +174,7 @@ public class YongyouServiceImpl implements YongyouService {
|
|
partInfoVO.setStoreId(stockResponse.getCWhCode());
|
|
partInfoVO.setStoreId(stockResponse.getCWhCode());
|
|
partInfoVO.setUnit(stockResponse.getCComUnitName());
|
|
partInfoVO.setUnit(stockResponse.getCComUnitName());
|
|
partInfoVO.setCBatch(stockResponse.getCBatch());
|
|
partInfoVO.setCBatch(stockResponse.getCBatch());
|
|
|
|
+ partInfoVO.setAutoId(stockResponse.getAutoId());
|
|
partInfoVOS.add(partInfoVO);
|
|
partInfoVOS.add(partInfoVO);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -190,7 +191,7 @@ public class YongyouServiceImpl implements YongyouService {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 查询存量分页
|
|
|
|
|
|
+ * 查询物资分页
|
|
*
|
|
*
|
|
* @param record
|
|
* @param record
|
|
* @param pageNum
|
|
* @param pageNum
|
|
@@ -269,7 +270,7 @@ public class YongyouServiceImpl implements YongyouService {
|
|
otherOutMain.setCvouchtype("09");
|
|
otherOutMain.setCvouchtype("09");
|
|
otherOutMain.setCbustype("其他出库");
|
|
otherOutMain.setCbustype("其他出库");
|
|
otherOutMain.setCwhcode(outStoreFormVO.getStoreId());
|
|
otherOutMain.setCwhcode(outStoreFormVO.getStoreId());
|
|
- otherOutMain.setDdate(DateUtils.dateToString(outStoreFormVO.getUserTime(), DateUtils.PATTERN_YMD_HMS));
|
|
|
|
|
|
+ otherOutMain.setDdate(DateUtils.dateToString(outStoreFormVO.getUserTime(), DateUtils.PATTERN_YMD) + " 00:00:00");
|
|
otherOutMain.setVt_id("85");
|
|
otherOutMain.setVt_id("85");
|
|
otherOutMain.setBisstqc(false);
|
|
otherOutMain.setBisstqc(false);
|
|
otherOutMain.setCcode("0000000006");
|
|
otherOutMain.setCcode("0000000006");
|
|
@@ -306,6 +307,7 @@ public class YongyouServiceImpl implements YongyouService {
|
|
String responseStr = handler.handler();
|
|
String responseStr = handler.handler();
|
|
OtherOutAddResponse response = JSONObject.parseObject(responseStr, OtherOutAddResponse.class);
|
|
OtherOutAddResponse response = JSONObject.parseObject(responseStr, OtherOutAddResponse.class);
|
|
if(!response.getResult()){
|
|
if(!response.getResult()){
|
|
|
|
+ outStoreFormService.updateModelByIdYongyouError(outStoreFormVO.getId(), response.getMsg());
|
|
throw new BusinessException(response.getMsg());
|
|
throw new BusinessException(response.getMsg());
|
|
}
|
|
}
|
|
String data = response.getData();
|
|
String data = response.getData();
|