丽知:1、新增OFS调整入库(无源件入库)--->U8C红字其它出库查询自定义档案WYTZRKYSGX,查询客商
This commit is contained in:
parent
3d49266ed3
commit
1633bef047
|
@ -10,6 +10,7 @@ import com.hzya.frame.base.PluginBaseEntity;
|
||||||
import com.hzya.frame.plugin.lets.constant.OverallConstant;
|
import com.hzya.frame.plugin.lets.constant.OverallConstant;
|
||||||
import com.hzya.frame.plugin.lets.constant.ProfilesActiveConstant;
|
import com.hzya.frame.plugin.lets.constant.ProfilesActiveConstant;
|
||||||
import com.hzya.frame.plugin.lets.dao.IBdRdclDao;
|
import com.hzya.frame.plugin.lets.dao.IBdRdclDao;
|
||||||
|
import com.hzya.frame.plugin.lets.entity.BdDefdocEntity;
|
||||||
import com.hzya.frame.plugin.lets.ofsvo.QueryOfsAdjustOrderRequestVO;
|
import com.hzya.frame.plugin.lets.ofsvo.QueryOfsAdjustOrderRequestVO;
|
||||||
import com.hzya.frame.plugin.lets.ofsvo.QueryOfsSoSaleOutVo;
|
import com.hzya.frame.plugin.lets.ofsvo.QueryOfsSoSaleOutVo;
|
||||||
import com.hzya.frame.plugin.lets.ofsvo.QueryOfsStockinOrderRequestVO;
|
import com.hzya.frame.plugin.lets.ofsvo.QueryOfsStockinOrderRequestVO;
|
||||||
|
@ -381,6 +382,13 @@ public class AdjustInWYJPluginInitializer extends PluginBaseEntity {
|
||||||
parentvo.setDauditdate(StringUtils.substring(modify, 0, 10));
|
parentvo.setDauditdate(StringUtils.substring(modify, 0, 10));
|
||||||
//cdispatcherid--收发类别
|
//cdispatcherid--收发类别
|
||||||
parentvo.setCdispatcherid("0107");
|
parentvo.setCdispatcherid("0107");
|
||||||
|
//ccustomerid 客户
|
||||||
|
String s = locateCust(ofsHeader.getFacilityCode());
|
||||||
|
if (s == null) {
|
||||||
|
Assert.state(false, "根据仓库编码:{},查询客商为空,请维WYTZRKYSGX档案。", ofsHeader.getFacilityCode());
|
||||||
|
}
|
||||||
|
parentvo.setCcustomerid(s);
|
||||||
|
|
||||||
|
|
||||||
//子表
|
//子表
|
||||||
List<GeneralBillVO_4IDto.Childrenvo> childrenvo = new ArrayList<>();
|
List<GeneralBillVO_4IDto.Childrenvo> childrenvo = new ArrayList<>();
|
||||||
|
@ -561,4 +569,19 @@ public class AdjustInWYJPluginInitializer extends PluginBaseEntity {
|
||||||
List<PassiveStorageResponse.Data> data = res.getData();
|
List<PassiveStorageResponse.Data> data = res.getData();
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据自定义项定位店铺
|
||||||
|
*/
|
||||||
|
public String locateCust(String cwarehouseid) {
|
||||||
|
List<BdDefdocEntity> defdocEntityList = queryU8CEntityUtil.queryBdDefDocByListCode("WYTZRKYSGX");
|
||||||
|
|
||||||
|
for (BdDefdocEntity bdDefdocEntity : defdocEntityList) {
|
||||||
|
if (cwarehouseid.equals(bdDefdocEntity.getDoccode())) {
|
||||||
|
return bdDefdocEntity.getDocname();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,7 @@ public class GeneralBillVO_4IDto {
|
||||||
private String clastmodiid;
|
private String clastmodiid;
|
||||||
private String vnote;
|
private String vnote;
|
||||||
private String dauditdate;//签字日期
|
private String dauditdate;//签字日期
|
||||||
|
private String ccustomerid;//客户
|
||||||
|
|
||||||
private String vuserdef19;//自定义项19--->ofs调整单号
|
private String vuserdef19;//自定义项19--->ofs调整单号
|
||||||
private String vuserdef20;//自定义项20
|
private String vuserdef20;//自定义项20
|
||||||
|
|
Loading…
Reference in New Issue