This commit is contained in:
PQZ 2024-09-23 22:50:10 +08:00
parent 3186867fb0
commit 2ef8c3ac63

View File

@ -137,9 +137,9 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
repairOrderInfo.setGoodsType("2");
CustomerMainRespVO customerById = customerMainService.getCustomerById(ticketsRespVO.getUserId());
if (ObjectUtil.isNotEmpty(customerById)) {
repairOrderInfo.setUserId(Integer.parseInt(customerById.getUserId() + ""));
repairOrderInfo.setUserId(customerById.getUserId());
} else {
repairOrderInfo.setUserId(0);
repairOrderInfo.setUserId(0L);
}
repairOrderInfo.setCusId(customerById.getId());
repairOrderInfo.setCusName(customerById.getCusName());