| @@ -49,16 +49,16 @@ open class ShopService( | |||||
| } else { | } else { | ||||
| request.id?.let { shopRepository.findById(it).getOrDefault(Shop()) } ?: Shop() | request.id?.let { shopRepository.findById(it).getOrDefault(Shop()) } ?: Shop() | ||||
| } | } | ||||
| if (shop?.m18LastModifyDate == request.m18LastModifyDate) { | |||||
| return shop.let { | |||||
| SaveShopResponse( | |||||
| id = it?.id, | |||||
| code = it?.code, | |||||
| name = it?.name, | |||||
| ) | |||||
| } | |||||
| } | |||||
| // TODO: May need later | |||||
| // if (shop?.m18LastModifyDate == request.m18LastModifyDate) { | |||||
| // return shop.let { | |||||
| // SaveShopResponse( | |||||
| // id = it?.id, | |||||
| // code = it?.code, | |||||
| // name = it?.name, | |||||
| // ) | |||||
| // } | |||||
| // } | |||||
| val type = request.type?.let { type -> ShopType.entries.find { it.value == type } } | val type = request.type?.let { type -> ShopType.entries.find { it.value == type } } | ||||