Commit 74327e24 by zzd

线下预约

parent 2c7b8aa6
......@@ -69,7 +69,7 @@ public class OfflinePreController {
/**
* 预约统计
* @param storeId 预约ID
* @param storeId 门店ID
* @param enterpriseId 企业ID
* @return 预约详情
*/
......@@ -79,4 +79,18 @@ public class OfflinePreController {
ServiceResponse<CountOfflinePreDTO> countOfflinePre = offlinePreApiService.countOfflinePre(storeId, enterpriseId);
return JSONObject.parseObject(JSONObject.toJSONString(countOfflinePre, SerializerFeature.WriteMapNullValue), RestResponse.class);
}
/**
* 校验是否核销
* @param offlinePreId 预约ID
* @param storeId 门店ID
* @return 预约详情
*/
@RequestMapping("/check-offline-pre-write-off")
@ResponseBody
public RestResponse<Void> checkOfflinePreWriteOff(Long offlinePreId, String storeId){
ServiceResponse<Void> countOfflinePre = offlinePreApiService.checkOfflinePreWriteOff(offlinePreId, storeId);
return JSONObject.parseObject(JSONObject.toJSONString(countOfflinePre, SerializerFeature.WriteMapNullValue), RestResponse.class);
}
}
......@@ -31,6 +31,18 @@ public class WriteOffOfflinePreQO implements Serializable {
*/
private Integer writeOffExchangeNum;
/**
* 门店ID
*/
private String storeId;
public String getStoreId() {
return storeId;
}
public void setStoreId(String storeId) {
this.storeId = storeId;
}
public Long getOfflinePreId() {
return offlinePreId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment