| | |
| | | package com.project.enforce.service.impl; |
| | | |
| | | import cn.hutool.core.convert.Convert; |
| | | import com.project.common.core.domain.entity.SysRole; |
| | | import com.project.common.core.domain.entity.SysUser; |
| | | import com.project.common.exception.base.BaseException; |
| | | import com.project.common.utils.SecurityUtils; |
| | |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * 功能描述: |
| | |
| | | } |
| | | addCheckLog(company, bo); |
| | | company.setCheckReason(bo.getCheckReason()); |
| | | companyService.updateById(company); |
| | | break; |
| | | return companyService.updateById(company); |
| | | case 2: |
| | | EnforceOrder order = orderService.getById(bo.getId()); |
| | | if (order==null) { |
| | |
| | | order.setCheckLevel(order.getCheckLevel()+1); |
| | | } |
| | | order.setCheckReason(bo.getCheckReason()); |
| | | orderService.updateById(order); |
| | | break; |
| | | return orderService.updateById(order); |
| | | } |
| | | return false; |
| | | } |