Commit ccdab298 by 江和松

其他入库单新增公司不能取当前登录人公司

parent 67c1e27a
...@@ -141,9 +141,9 @@ public class ServiceHGKC006 extends ServiceBase { ...@@ -141,9 +141,9 @@ public class ServiceHGKC006 extends ServiceBase {
*/ */
private void add(HGKC006 hgkc006) throws Exception { private void add(HGKC006 hgkc006) throws Exception {
hgkc006.setOtherEnterNo(SequenceGenerator.getNextSequence(HGConstant.SequenceId.OTHER_ENTER_NO)); hgkc006.setOtherEnterNo(SequenceGenerator.getNextSequence(HGConstant.SequenceId.OTHER_ENTER_NO));
UserVO userVO = HGCWTools.HgCw002.getUserCompany(); // UserVO userVO = HGCWTools.HgCw002.getUserCompany();
hgkc006.setCompanyCode(userVO.getUsercode()); // hgkc006.setCompanyCode(userVO.getUsercode());
hgkc006.setCompanyName(userVO.getUsername()); // hgkc006.setCompanyName(userVO.getUsername());
hgkc006.setSource(InventorySource.MANUAL_ENTRY.getCode()); hgkc006.setSource(InventorySource.MANUAL_ENTRY.getCode());
hgkc006.setSubmitStatus(HGConstant.ProductStatus.WTJ); hgkc006.setSubmitStatus(HGConstant.ProductStatus.WTJ);
DaoUtils.insert(HGKC006.INSERT, hgkc006); DaoUtils.insert(HGKC006.INSERT, hgkc006);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment