nc.itf.scmpub.reference.uap.rbac.UserManageQuery
/**
* 设置制单人
* */
private void setBillMake(InvoiceHeaderVO headvo,Map<String, Object> headparam) {
if(headparam.get("nc_psncode") == null){
return;
}
UserVO[] users = UserManageQuery.queryUserVOByClause(UserVO.USER_CODE + "='" + (String)headparam.get("nc_psncode") + "'");
if (!ArrayUtils.isEmpty(users)) {
String userid = users[0].getCuserid();
if (!StringUtils.isEmpty(userid)) {
headvo.setCreator(userid);
headvo.setBillmaker(userid);
InvocationInfoProxy.getInstance().setUserId(userid);
}
}
}
/* 客户默认银行查询服务类 */
CustSupplierBankService
/* 物料档案查询服务类 */
Map<String, MaterialVO> materials = null;
String[] fields = { "pk_material", "pk_measdoc" };
materials = MaterialPubService.queryMaterialBaseInfo((String[])pks.toArray(new String[pks.size()]), fields);
NC预置的查询服务类
最新推荐文章于 2021-07-07 14:56:34 发布