mirror of
https://github.com/suhf/No1WMS.git
synced 2026-11-04 10:12:15 +09:00
planin url 관련 버그 수정
This commit is contained in:
1 parent
6641e4ac9b
commit
04392168ba
4 files changed
+9
-9
No files matched your search
@@ -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