|
|
|
@ -12,6 +12,7 @@ import com.op.common.core.domain.R;
|
|
|
|
|
import com.op.common.core.utils.DateUtils;
|
|
|
|
|
import com.op.common.core.utils.uuid.IdUtils;
|
|
|
|
|
import com.op.common.core.web.domain.AjaxResult;
|
|
|
|
|
import com.op.common.security.utils.SecurityUtils;
|
|
|
|
|
import com.op.system.api.RemoteQualityService;
|
|
|
|
|
import com.op.system.api.domain.quality.QcCheckTaskWarehousingDTO;
|
|
|
|
|
import com.op.system.api.domain.wms.wmsReportWork;
|
|
|
|
@ -322,7 +323,12 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public List<wmsReportWork> getReportList(wmsReportWork mesReportWork) {
|
|
|
|
|
List<wmsReportWork> rlist = wmsProductPutMapper.getReportList(mesReportWork);
|
|
|
|
|
;
|
|
|
|
|
// //加上已经过账的数量reportCode work_order batch_number batch
|
|
|
|
|
// for (wmsReportWork wmsReportWork:
|
|
|
|
|
// rlist) {
|
|
|
|
|
// String SAPquantity= wmsProductPutMapper.selectWmsProductPutNum(wmsReportWork);
|
|
|
|
|
// wmsReportWork.setSAPquantity(SAPquantity);
|
|
|
|
|
// }
|
|
|
|
|
return rlist;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -407,7 +413,7 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
//List<WmsProductPut> wmsProductPutList= wmsProductPutMapper.selectWmsProductPutList(wmsProductPutk);
|
|
|
|
|
|
|
|
|
|
wmsProductPutk.setAttr3(formattedDate);//
|
|
|
|
|
wmsProductPutk.setCreateBy(mesReportWork.getCreateBy());
|
|
|
|
|
wmsProductPutk.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
|
wmsProductPutk.setCreateTime(new Date());
|
|
|
|
|
|
|
|
|
|
wmsProductPutk.setProductDate(mesReportWork.getProductDate());
|
|
|
|
@ -423,7 +429,7 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
wmsProductPutRecords.setWhCode(mesReportWork.getWhCode());//仓库编码
|
|
|
|
|
wmsProductPutRecords.setId(IdUtils.fastSimpleUUID());
|
|
|
|
|
wmsProductPutRecords.setNumber(mesReportWork.getQuantityQualified().toString());
|
|
|
|
|
wmsProductPutRecords.setCreateBy(mesReportWork.getCreateBy());
|
|
|
|
|
wmsProductPutRecords.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
|
wmsProductPutRecords.setCreateTime(new Date());
|
|
|
|
|
wmsProductPutRecordsMapper.insertWmsProductPutRecords(wmsProductPutRecords);
|
|
|
|
|
|
|
|
|
@ -441,7 +447,7 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
List<WmsFpStorageNews> wmsFpStorageNewsList = wmsFpStorageNewsMapper.selectWmsFpStorageNewsList(wmsFpStorageNews);
|
|
|
|
|
wmsFpStorageNews.setStorageId(IdUtils.fastSimpleUUID());
|
|
|
|
|
wmsFpStorageNews.setAmount(mesReportWork.getQuantityQualified());
|
|
|
|
|
wmsFpStorageNews.setCreateBy(mesReportWork.getCreateBy());
|
|
|
|
|
wmsFpStorageNews.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
|
wmsFpStorageNews.setCreateTime(new Date());
|
|
|
|
|
if (wmsFpStorageNewsList.size() > 0) {
|
|
|
|
|
WmsFpStorageNews wmsFpStorageNews1 = wmsFpStorageNewsList.get(0);
|
|
|
|
|