|
@@ -230,9 +230,11 @@ public class ReceiptServiceImpl implements ReceiptService {
|
|
|
if (message.length() > 10) {
|
|
|
int index = message.indexOf("尾号");
|
|
|
String account = message.substring(index + 2, index + 2 + 4);
|
|
|
- cmOfflineCollectionPo collectionPo = collectionMapper.detectionAccount(account);
|
|
|
- if (collectionPo.getIsDisable() == 0) {
|
|
|
- return "-1";
|
|
|
+ List<cmOfflineCollectionPo> collectionPo = collectionMapper.detectionAccount(account);
|
|
|
+ for (cmOfflineCollectionPo po: collectionPo) {
|
|
|
+ if (po.getIsDisable() == 0) {
|
|
|
+ return "-1";
|
|
|
+ }
|
|
|
}
|
|
|
return "0";
|
|
|
}
|