借料入库-vnotebody用项目名称的值
This commit is contained in:
parent
b93cbb0ec4
commit
fe004487e2
|
@ -10,6 +10,7 @@ import nc.jdbc.framework.processor.ColumnProcessor;
|
||||||
import nc.pubitf.para.SysInitQuery;
|
import nc.pubitf.para.SysInitQuery;
|
||||||
import nc.util.mmf.busi.service.PFPubService;
|
import nc.util.mmf.busi.service.PFPubService;
|
||||||
import nc.util.mmf.framework.base.MMValueCheck;
|
import nc.util.mmf.framework.base.MMValueCheck;
|
||||||
|
import nc.vo.bc.pmpub.project.ProjectHeadVO;
|
||||||
import nc.vo.bd.stordoc.StordocVO;
|
import nc.vo.bd.stordoc.StordocVO;
|
||||||
import nc.vo.fi.pub.SqlUtils;
|
import nc.vo.fi.pub.SqlUtils;
|
||||||
import nc.vo.ic.m4a.entity.GeneralInBodyVO;
|
import nc.vo.ic.m4a.entity.GeneralInBodyVO;
|
||||||
|
@ -154,19 +155,20 @@ public class PickmToGeneralInAction implements ICommonAction {
|
||||||
head.setCtrantypeid(pk_billtypeid);
|
head.setCtrantypeid(pk_billtypeid);
|
||||||
head.setVtrantypecode(typeCode);
|
head.setVtrantypecode(typeCode);
|
||||||
head.setCwarehouseid(warehouseId);
|
head.setCwarehouseid(warehouseId);
|
||||||
/*GeneralInBodyVO[] bodys = inVO.getBodys();
|
GeneralInBodyVO[] bodys = inVO.getBodys();
|
||||||
if (bodys != null) {
|
if (bodys != null) {
|
||||||
for (GeneralInBodyVO body : bodys) {
|
for (GeneralInBodyVO body : bodys) {
|
||||||
String cpickmId=body.getCunitid();
|
String csourcebillhid = body.getCsourcebillhid();
|
||||||
IPickmQueryService service = ServiceLocator.find(IPickmQueryService.class);
|
IPickmQueryService service = ServiceLocator.find(IPickmQueryService.class);
|
||||||
AggPickmVO[] vos = service.queryBillsByPks(new String[]{cpickmId});
|
AggPickmVO[] vos = service.queryBillsByPks(new String[]{csourcebillhid});
|
||||||
if (vos != null && vos.length > 0) {
|
if (vos != null && vos.length > 0) {
|
||||||
HYPubBO hybo = new HYPubBO();
|
HYPubBO hybo = new HYPubBO();
|
||||||
Object cmaterialvidDef261 = hybo.findColValue("bd_material", "def26", "pk_material = '"+vos[0].getParentVO().getCmaterialvid()+"' ");
|
String cprojectid = vos[0].getParentVO().getCprojectid();
|
||||||
body.setVnotebody((String) cmaterialvidDef261);
|
String projectName = (String) hybo.findColValue(ProjectHeadVO.getDefaultTableName(), ProjectHeadVO.PROJECT_NAME, "pk_project = '" + cprojectid + "' ");
|
||||||
|
body.setVnotebody(projectName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
return inVOS;
|
return inVOS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue