2 Commits

Author SHA1 Message Date
xuelijun
15e801e426 Merge remote-tracking branch 'origin/feature/order' into feature/order 2025-10-24 17:29:48 +08:00
xuelijun
b2e0cca804 图片 2025-10-24 17:29:14 +08:00
3 changed files with 10 additions and 8 deletions

View File

@@ -70,6 +70,10 @@ public class ProdListVO {
* 还剩多少天 * 还剩多少天
*/ */
private Long remainingDays; private Long remainingDays;
/**
* 图片
*/
private String pic;
/** /**
* 审核备注 * 审核备注

View File

@@ -121,15 +121,13 @@ public class ProdController {
/* @GetMapping("/getProdInfo")
@GetMapping("/get") @Operation(summary = "获得商品详情a")
@Operation(summary = "获得商品")
@Parameter(name = "id", description = "编号", required = true, example = "1024") @Parameter(name = "id", description = "编号", required = true, example = "1024")
@PreAuthorize("@ss.hasPermission('tashow-module-product:prod:query')") public CommonResult<ProdDO> getProdInfo(@RequestParam("id") Long id) {
public CommonResult<ProdRespVO> getProd(@RequestParam("id") Long id) {
ProdDO prod = prodService.getProd(id); ProdDO prod = prodService.getProd(id);
return success(BeanUtils.toBean(prod, ProdRespVO.class)); return success(prod);
}*/ }
@PermitAll @PermitAll
@GetMapping("/page") @GetMapping("/page")

View File

@@ -585,7 +585,7 @@
<select id="getProdPageList" resultMap="ProdListMap" > <select id="getProdPageList" resultMap="ProdListMap" >
select tp.prod_id,tp.prod_name,tp.category_name,tp.shop_id,tsd.shop_name,tpsa.area_name,min_eri.response_hours, select tp.prod_id,tp.prod_name,tp.category_name,tp.shop_id,tsd.shop_name,tpsa.area_name,min_eri.response_hours,
tprc.reservation_time_slots,tp.delete_time,tp.create_time,tp.update_time,tp.status,tp.is_prohibit, tprc.reservation_time_slots,tp.delete_time,tp.create_time,tp.update_time,tp.status,tp.is_prohibit,tp.pic,
tp.process_notes processNotes tp.process_notes processNotes
from tz_prod tp from tz_prod tp
left join tz_shop_detail tsd on tp.shop_id = tsd.shop_id left join tz_shop_detail tsd on tp.shop_id = tsd.shop_id