|
|
@@ -443,11 +443,13 @@ public class PosStoreController extends BaseController {
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
PosStore posStore = posStoreService.selectPosStoreById(id);
|
|
|
- // 回显营业时间(按周几分组的 timeSlots),供编辑门店时显示
|
|
|
+ // 回显营业时间(按周几分组的 timeSlots)与统一编号(统编),供门店审核页显示
|
|
|
if (posStore != null) {
|
|
|
LambdaQueryWrapper<OperatingHours> wrapper = new LambdaQueryWrapper<>();
|
|
|
wrapper.eq(OperatingHours::getMdId, id);
|
|
|
posStore.setBusinessHours(getStoreOperatOutput(operatingHoursService.list(wrapper), id));
|
|
|
+ // 统编实存于 pos_store_ezpay.ubn
|
|
|
+ posStore.setUbn(posStoreEzpayService.getUbn(id));
|
|
|
}
|
|
|
return success(posStore);
|
|
|
}
|