You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年5月30日(星期二) 中午11:03
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [jishenghua/jshERP] changeBillStatus有问题吧 (Issue #90)
@transactional(value = "transactionManager", rollbackFor = Exception.class) public void changeBillStatus(DepotHead depotHead, String billStatus) { DepotHead depotHeadOrders = new DepotHead(); depotHeadOrders.setStatus(billStatus); DepotHeadExample example = new DepotHeadExample(); List<String> linkNumberList = StringUtil.strToStringList(depotHead.getLinkNumber()); example.createCriteria().andNumberIn(linkNumberList); try { depotHeadMapper.updateByExampleSelective(depotHeadOrders, example); //depotHeadOrders 是新对象,什么值都没有。入参depotHead都没有用到。 //example对象在 mapper xml 里面的updateByExampleSelective方法也没用到 } catch (Exception e) { logger.error("异常码[{}],异常提示[{}],异常[{}]", ExceptionConstants.DATA_WRITE_FAIL_CODE, ExceptionConstants.DATA_WRITE_FAIL_MSG, e); throw new BusinessRunTimeException(ExceptionConstants.DATA_WRITE_FAIL_CODE, ExceptionConstants.DATA_WRITE_FAIL_MSG); } }
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
mapper xml里面的_parameter是在哪赋值的?
The text was updated successfully, but these errors were encountered: