Merge remote-tracking branch 'origin/dev' into dev

dev
郑明梁 2 years ago
commit 49908c0db9

@ -1067,7 +1067,7 @@ public class IoCodeTempController extends BaseController {
codeTempEntity.setRelId(codeSaveRequest.getRelId()); codeTempEntity.setRelId(codeSaveRequest.getRelId());
int reCount = udiCalCountUtil.getActCount(codeTempEntity); int reCount = udiCalCountUtil.getActCount(codeTempEntity);
codeTempEntity.setReCount(reCount); // codeTempEntity.setReCount(reCount);
} }
IoOrderEntity orderEntity = orderService.findByBillNo(codeTempEntity.getOrderId()); IoOrderEntity orderEntity = orderService.findByBillNo(codeTempEntity.getOrderId());
BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction(orderEntity.getAction()); BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction(orderEntity.getAction());

@ -80,6 +80,7 @@ public class IoCheckInoutService {
/** /**
* *
*
* @param billNo * @param billNo
* @return * @return
*/ */
@ -132,6 +133,7 @@ public class IoCheckInoutService {
/** /**
* | * |
*
* @param orderId * @param orderId
*/ */
public void check(String orderId) { public void check(String orderId) {
@ -782,7 +784,8 @@ public class IoCheckInoutService {
if (orderEntity.getStatus() == ConstantStatus.ORDER_STATUS_CHECK_REW) { if (orderEntity.getStatus() == ConstantStatus.ORDER_STATUS_CHECK_REW) {
orderEntity.setDealStatus(ConstantStatus.ORDER_DEAL_REW); orderEntity.setDealStatus(ConstantStatus.ORDER_DEAL_REW);
orderEntity.setUpdateTime(new Date()); orderEntity.setUpdateTime(new Date());
orderEntity.setCheckTime(new Date()); if (IntUtil.value(orderEntity.getFromType()) != ConstantStatus.FROM_UDISP)
orderEntity.setCheckTime(new Date());
orderService.update(orderEntity); orderService.update(orderEntity);
checkSecond(orderEntity); checkSecond(orderEntity);
} }
@ -839,7 +842,8 @@ public class IoCheckInoutService {
if (orderEntity.getStatus() == ConstantStatus.ORDER_STATUS_AUDITED) { if (orderEntity.getStatus() == ConstantStatus.ORDER_STATUS_AUDITED) {
orderEntity.setDealStatus(ConstantStatus.ORDER_DEAL_CHECK); orderEntity.setDealStatus(ConstantStatus.ORDER_DEAL_CHECK);
orderEntity.setUpdateTime(new Date()); orderEntity.setUpdateTime(new Date());
orderEntity.setAuditTime(new Date()); if (IntUtil.value(orderEntity.getFromType()) != ConstantStatus.FROM_UDISP)
orderEntity.setAuditTime(new Date());
if (StrUtil.isEmpty(orderEntity.getReviewUser())) { if (StrUtil.isEmpty(orderEntity.getReviewUser())) {
orderEntity.setReviewUser(orderEntity.getReviewUser()); orderEntity.setReviewUser(orderEntity.getReviewUser());
} }

@ -112,9 +112,15 @@ public class InvInnerOrderPrintServiceImpl implements InvInnerOrderPrintService
filterUdiRelRequest.setId(Long.valueOf(obj.getProductId())); filterUdiRelRequest.setId(Long.valueOf(obj.getProductId()));
filterUdiRelRequest.setPackLevel(udiRelevanceDao.selectPackLevel(obj.getNameCode())); filterUdiRelRequest.setPackLevel(udiRelevanceDao.selectPackLevel(obj.getNameCode()));
System.out.println(filterUdiRelRequest.getPackLevel()); System.out.println(filterUdiRelRequest.getPackLevel());
int a=0;
if (filterUdiRelRequest.getPackLevel()==null){
a=0;
}else {
a=Integer.parseInt(filterUdiRelRequest.getPackLevel())-1;
}
//查询耗材字典信息 //查询耗材字典信息
// UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(0); //UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(0);
UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(Integer.parseInt(filterUdiRelRequest.getPackLevel())-1); UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(a);
//查询产品信息 //查询产品信息
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(filterUdiRelevance.getNameCode()); UdiProductEntity udiProductEntity = udiProductService.findByNameCode(filterUdiRelevance.getNameCode());

@ -17,6 +17,7 @@
'%Y-%m-%d') and date_format(#{endDate}, '%Y-%m-%d') '%Y-%m-%d') and date_format(#{endDate}, '%Y-%m-%d')
</if> </if>
</where> </where>
ORDER BY inv_inner_order.createTime DESC
</select> </select>
<insert id="insert" keyProperty="id" <insert id="insert" keyProperty="id"

Loading…
Cancel
Save