This commit is contained in:
AdisakKanthawilang 2024-05-15 15:29:12 +07:00
parent 67c54e3273
commit c9c14f052b
8 changed files with 18 additions and 6 deletions

View file

@ -142,7 +142,7 @@ export class BloodGroupController extends Controller {
async listBloodGroup() {
const bloodGroup = await this.bloodGroupRepository.find({
select: ["id", "name", "createdAt", "lastUpdatedAt", "createdFullName", "lastUpdateFullName"],
order: { createdAt: "ASC" },
order: { name: "ASC" },
});
// if (!bloodGroup) {