|
|
|
|
@ -75,7 +75,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
case "tagInformationUndefinedData" -> {
|
|
|
|
|
if (isEmpty(query.getOrderBy())) {
|
|
|
|
|
if (isEmpty(query.getBy())) {
|
|
|
|
|
query.setOrderBy("CRDN_ID");
|
|
|
|
|
query.setOrderBy("CRDN_ID DESC");
|
|
|
|
|
} else {
|
|
|
|
|
query.setOrderBy(CmmnUtil.convertCamelCaseToSnakeCase(query.getBy()));
|
|
|
|
|
}
|
|
|
|
|
@ -85,7 +85,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
case "photo" -> {
|
|
|
|
|
if (isEmpty(query.getOrderBy())) {
|
|
|
|
|
if (isEmpty(query.getBy())) {
|
|
|
|
|
query.setOrderBy("VHRNO, CRDN_PLC, CRDN_ID");
|
|
|
|
|
query.setOrderBy("VHRNO, CRDN_PLC, CRDN_ID DESC");
|
|
|
|
|
} else {
|
|
|
|
|
query.setOrderBy(CmmnUtil.convertCamelCaseToSnakeCase(query.getBy()));
|
|
|
|
|
}
|
|
|
|
|
@ -102,13 +102,13 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
}
|
|
|
|
|
case "sameVehicleSub" -> crdnListMapper.selectSameVehicleSubList(query.setOrderBy("CRDN_ID"));
|
|
|
|
|
case "todayInsert" -> {
|
|
|
|
|
query.setOrderBy("CRDN_ID");
|
|
|
|
|
query.setOrderBy("CRDN_ID DESC");
|
|
|
|
|
yield crdnListMapper.selectTodayCrackdownList(query);
|
|
|
|
|
}
|
|
|
|
|
default -> {
|
|
|
|
|
if (isEmpty(query.getOrderBy())) {
|
|
|
|
|
if (isEmpty(query.getBy())) {
|
|
|
|
|
query.setOrderBy("CRDN_ID");
|
|
|
|
|
query.setOrderBy("CRDN_ID DESC");
|
|
|
|
|
} else {
|
|
|
|
|
query.setOrderBy(CmmnUtil.convertCamelCaseToSnakeCase(query.getBy()));
|
|
|
|
|
}
|
|
|
|
|
|