陈鹏

提货开启事务注解

......@@ -38,6 +38,7 @@ import com.cjs.site.util.redis.JedisTemplate;
import com.cjs.site.util.t2.T2Result;
import com.cjs.site.util.t2.T2Util;
import com.cjs.site.util.web.ActionUtil;
import org.springframework.transaction.annotation.Transactional;
/**
* 提货
......@@ -253,7 +254,8 @@ public class PickBiz {
* @return code(0:全部失败;1:成功;2:部分失败)
*/
@SuppressWarnings("unchecked")
private ResultInfo pick(OutpropApplyPickInfo pickInfo, OutpropApplyInfo applyInfo) {
@Transactional
public ResultInfo pick(OutpropApplyPickInfo pickInfo, OutpropApplyInfo applyInfo) {
UserInfo user = ActionUtil.getUser();
HttpSession session = ActionUtil.getRequest().getSession();
List<OutpropApplyInfo> applyList = (List<OutpropApplyInfo>) session
......