瀏覽代碼

二级市场收购商发布需求列表修改

linbl 2 年之前
父節點
當前提交
d613088607

+ 1 - 1
sp-service/level-two-server/src/main/java/com/pj/tb_goods_demand/TbGoodsDemandService.java

@@ -42,7 +42,7 @@ public class TbGoodsDemandService extends ServiceImpl<TbGoodsDemandMapper, TbGoo
 			throw new ServiceException("当前登录账号信息已失效!");
 		//设置基本状态
 		t.setIsOrders(0); // 0= 未被下单
-		t.setPurchaserId(appLoginInfo.getLoginId());
+		t.setPurchaserId(appLoginInfo.getFk());
 		t.setCreateBy(appLoginInfo.getLoginId());
 		t.setCreateName(appLoginInfo.getLoginName());
 		t.setDeleteStatus(DeleteStatus.DELETE_STATUS_ON.getCode());