Commit 70077aa4 by huangjinxin

feat:工作队支持修改归属站点

1 parent 5703ce12
......@@ -12,6 +12,7 @@ import com.dituhui.pea.order.entity.OrgWarehouseInfoEntity;
import com.dituhui.pea.order.service.BusinessTeamService;
import com.dituhui.pea.order.service.CommonService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
......@@ -173,6 +174,9 @@ public class BusinessTeamServiceImpl implements BusinessTeamService {
if (req.getWarehouseId() != null) {
entity.setWarehouseId(req.getWarehouseId());
}
if (StringUtils.isNotBlank(req.getGroupId())) {
entity.setGroupId(req.getGroupId());
}
entity.setUpdateTime(LocalDateTime.now());
orgTeamDao.save(entity);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!