mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-05 12:13:33 +09:00
planin url 관련 버그 수정
This commit is contained in:
@@ -112,9 +112,9 @@ public class PlanInController {
|
||||
// 엑셀 다운로드
|
||||
@GetMapping("/qr/{id}")
|
||||
@ResponseBody
|
||||
public String qr(@PathVariable("id")String id, HttpServletResponse response)
|
||||
public String qr(@PathVariable("id")String qrHash, HttpServletResponse response)
|
||||
{
|
||||
List<PlanInDto> list = planinservice.selectByUrl(id);
|
||||
List<PlanInDto> list = planinservice.selectByQRHash(qrHash);
|
||||
|
||||
Utils.makePlanInExcel(list, response);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ public interface PlanInMapper {
|
||||
|
||||
List<PlanInDto> selectById(PlanInDto dto);
|
||||
|
||||
List<PlanInDto> selectByUrl(String id);
|
||||
List<PlanInDto> selectByQRHash(String qrHash);
|
||||
|
||||
int deleteById(PlanInDto dto);
|
||||
|
||||
|
||||
@@ -45,9 +45,9 @@ public class PlanInService {
|
||||
return mapper.delete(dto);
|
||||
}
|
||||
|
||||
List<PlanInDto> selectByUrl(String id) {
|
||||
List<PlanInDto> selectByQRHash(String qrHash) {
|
||||
|
||||
return mapper.selectByUrl(id);
|
||||
return mapper.selectByQRHash(qrHash);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user