|
|
@@ -39,7 +39,7 @@ func (centralKitchenForSchoolUserWithDayDb *CentralKitchenForSchoolUserWithDayDb |
|
|
|
} |
|
|
|
|
|
|
|
func (centralKitchenForSchoolUserWithDayDb *CentralKitchenForSchoolUserWithDayDb) FindCentralKitchenForSchoolUserWithDayByOrdNo(ordNo string) ([]map[string]interface{}, error) { |
|
|
|
var m []*CentralKitchenForSchoolUserRefundDayWithCentralKitchenForSchoolUserWithDay |
|
|
|
var m []*CentralKitchenForSchoolUserWithDayWithCentralKitchenForSchoolUserRefundDay |
|
|
|
if err := centralKitchenForSchoolUserWithDayDb.Db.Where("central_kitchen_for_school_user_with_day.ord_no =?", ordNo). |
|
|
|
Join("LEFT", "central_kitchen_for_school_user_refund_day", "central_kitchen_for_school_user_refund_day.records_id = central_kitchen_for_school_user_with_day.id"). |
|
|
|
Desc("central_kitchen_for_school_user_refund_day.id"). |
|
|
|