|
@@ -229,7 +229,7 @@ public class CardRecordTask {
|
|
|
Long seq = attendance.getLong("seq");
|
|
|
List<Map<String, Object>> list = dmOrderRecordRepository.selectOrderRecordBySeq(seq);
|
|
|
|
|
|
- if(list.size() == 0) {
|
|
|
+ if(ObjectUtils.isEmpty(list)) {
|
|
|
DmSettlement dmSettlement = new DmSettlement();
|
|
|
dmSettlement.setCardCode(attendance.getString("card"));
|
|
|
dmSettlement.setOrderTime(attendance.getTimestamp("createTime"));
|