feat: 医保耗材信息增加字段

dev_fifo1.0
chenhc 1 year ago
parent fc91a02cf4
commit 2983a32c3e

@ -461,7 +461,7 @@ public class ThrInvOrderServiceImpl implements ThrInvOrderService {
thrInvOrder.setUpdateTime(new Date()); thrInvOrder.setUpdateTime(new Date());
thrInvOrder.setUpdateUser(userId + ""); thrInvOrder.setUpdateUser(userId + "");
String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo() + "," + newBillNo); String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo()) +( "," + newBillNo);
// 检查字符串是否以逗号开始 // 检查字符串是否以逗号开始
if (toBillNo.startsWith(",")) { if (toBillNo.startsWith(",")) {
// 使用substring()去掉第一个字符 // 使用substring()去掉第一个字符
@ -563,7 +563,7 @@ public class ThrInvOrderServiceImpl implements ThrInvOrderService {
thrInvOrderDetailMapper.updateBatchById(updateThrInvOrderDetails); thrInvOrderDetailMapper.updateBatchById(updateThrInvOrderDetails);
ioOrderService.insertOrder(ioOrderEntity); ioOrderService.insertOrder(ioOrderEntity);
String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo() + "," + newBillNo); String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo()) +( "," + newBillNo);
// 检查字符串是否以逗号开始 // 检查字符串是否以逗号开始
if (toBillNo.startsWith(",")) { if (toBillNo.startsWith(",")) {
// 使用substring()去掉第一个字符 // 使用substring()去掉第一个字符
@ -954,7 +954,7 @@ public class ThrInvOrderServiceImpl implements ThrInvOrderService {
} }
} }
String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo() + "," + newBillNo); String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo()) +( "," + newBillNo);
// 检查字符串是否以逗号开始 // 检查字符串是否以逗号开始
if (toBillNo.startsWith(",")) { if (toBillNo.startsWith(",")) {
// 使用substring()去掉第一个字符 // 使用substring()去掉第一个字符
@ -1117,7 +1117,7 @@ public class ThrInvOrderServiceImpl implements ThrInvOrderService {
throw new JsonException("第三方普耗明细自动转化单据异常"); throw new JsonException("第三方普耗明细自动转化单据异常");
} }
} }
String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo() + "," + newBillNo); String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo()) +( "," + newBillNo);
// 检查字符串是否以逗号开始 // 检查字符串是否以逗号开始
if (toBillNo.startsWith(",")) { if (toBillNo.startsWith(",")) {
// 使用substring()去掉第一个字符 // 使用substring()去掉第一个字符
@ -1208,7 +1208,7 @@ public class ThrInvOrderServiceImpl implements ThrInvOrderService {
throw new JsonException("第三方高耗明细自动转化单据异常"); throw new JsonException("第三方高耗明细自动转化单据异常");
} }
String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo() + "," + newBillNo); String toBillNo = (thrInvOrder.getToBillNo()==null?"":thrInvOrder.getToBillNo()) +( "," + newBillNo);
// 检查字符串是否以逗号开始 // 检查字符串是否以逗号开始
if (toBillNo.startsWith(",")) { if (toBillNo.startsWith(",")) {
// 使用substring()去掉第一个字符 // 使用substring()去掉第一个字符

Loading…
Cancel
Save