| | |
| | | import com.ltkj.system.service.ISysConfigService; |
| | | import com.ltkj.system.service.ISysDeptService; |
| | | import com.ltkj.system.service.ISysUserService; |
| | | import com.ltkj.web.controller.his.HisApiMethod; |
| | | import com.ltkj.web.wxUtils.HttpClientUtils; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | import jodd.util.StringUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.transaction.NoTransactionException; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.interceptor.TransactionAspectSupport; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | private TjOrderController tjOrderController; |
| | | @Autowired |
| | | private ITbTransitionService tbTransitionService; |
| | | |
| | | @Autowired |
| | | private HisApiMethod hisApiMethod; |
| | | /** |
| | | * 查询该体检号对应的订单流水列表 |
| | | */ |
| | |
| | | Date dates = new Date(); |
| | | String jxbz = DateUtil.format(dates, "yyyyMMddHHmmss") + order.getOrderId(); |
| | | //异步单项收费明细 |
| | | Boolean b = asyncService.iundividualCharges(tjFlowingWater, order, customer, sysUser, jxbz); |
| | | if (!b) { |
| | | try { |
| | | Boolean b = asyncService.iundividualCharges(tjFlowingWater, order, customer, sysUser, jxbz); |
| | | } catch (NoTransactionException e) { |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | hisApiMethod.ZfBlHisApiMethod(order.getTjNumber(), jxbz); |
| | | return AjaxResult.error(); |
| | | } |
| | | |