Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package app.snapshot.qure.admin.complain.controller;

// 작성자 : 최온유
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.admin.complain.dto;
//작성자 : 최온유

import java.time.LocalDateTime;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.admin.complain.repository;
//작성자 : 최온유

import java.time.LocalDateTime;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.admin.complain.service;
//작성자 : 최온유

import java.time.LocalDateTime;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// src/main/java/app/snapshot/qure/admin/complain/service/IComplainService.java
package app.snapshot.qure.admin.complain.service;
//작성자 : 최온유

import java.time.LocalDateTime;
import java.util.List;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/app/snapshot/qure/config/AwsConfig.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.config;
//작성자 : 최온유

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.config;
//작성자 : 최온유

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
Expand All @@ -9,7 +10,6 @@
/**
* /mobile/{tagId}/checklist 엔드포인트 전용 접근 제어.
* - 세션 플래그 INSPECT_OK:{tagId} 가 true일 때만 통과.
* - 다른 경로는 전혀 건드리지 않음.
*/
@Component
public class InspectorAuthInterceptor implements HandlerInterceptor {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/app/snapshot/qure/config/WebConfig.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.config;
//작성자 : 최온유

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.controller;
//작성자 : 최온유

import java.time.LocalDateTime;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import app.snapshot.qure.checklist.model.ChecklistType;
import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import app.snapshot.qure.template.dto.ActiveStatus;
import app.snapshot.qure.template.dto.CycleUnit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import java.time.LocalDateTime;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import java.time.LocalDateTime;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import java.time.LocalDateTime;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import lombok.Data;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.dto;
//작성자 : 최온유

import lombok.AllArgsConstructor;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.repository;
//작성자 : 최온유

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.service;
//작성자 : 최온유

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package app.snapshot.qure.mobile.service;
//작성자 : 최온유

import java.util.List;
import java.util.Map;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/mappers/ComplainMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="app.snapshot.qure.admin.complain.repository.ComplainMapper">
<!-- 작성자 : 최온유 -->

<!-- 공통 WHERE -->
<sql id="baseWhere">
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/mappers/MobileMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="app.snapshot.qure.mobile.repository.MobileMapper">

<!-- 작성자 : 최온유 -->


<select id="selectTagSummaryById" parameterType="int"
resultType="app.snapshot.qure.mobile.dto.TagSummaryDto">
SELECT
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/assets/css/complain.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* 작성자 : 최온유 */

/* Pretendard Variable 폰트 적용 */
@font-face{
font-family: 'Pretendard Variable';
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/assets/css/complainlist.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* 작성자 : 최온유 */

:root {
--bg: #f1f2f4;
--panel: #ffffff;
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/assets/css/inspectorValidate.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* 작성자 : 최온유 */

html { font-size: clamp(14px, 1.6vw, 18px); }

body {
Expand Down
3 changes: 2 additions & 1 deletion src/main/webapp/WEB-INF/assets/css/mobileMain.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* 전체 기본 */
/* 작성자 : 최온유 */

html, body { height: 100%; margin: 0; }
body {
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion src/main/webapp/WEB-INF/assets/js/checklist.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// 작성자 : 최온유
(function () {
const form = document.getElementById('chkForm');
const btn = document.getElementById('btnSubmit');
const doneCnt = document.getElementById('doneCnt'); // 채워진 "필수" 개수
const totalCnt = document.getElementById('totalCnt'); // 전체 "필수" 개수
const cards = Array.from(document.querySelectorAll('.card'));

// 기본 방어. 필수 요소 없으면 종료
if (!form || !btn) return;

Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/assets/js/complain.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// 작성자 : 최온유

(function(){
const frm = document.getElementById('frm');
const title = document.getElementById('title');
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/assets/js/complainlist.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// complainlist.js
// 작성자 : 최온유
document.addEventListener('DOMContentLoaded', function () {
// --- CSRF 헬퍼 ---
function withCsrf(headers) {
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/assets/js/inspectorValidate.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// 작성자 : 최온유

(function(){
const inputs=[...document.querySelectorAll('.pin input')];
const pad=document.querySelector('.pad');
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/assets/js/mobileMain.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 플래시 메시지 모달 표시 (성공/실패)
// 작성자 : 최온유
(function () {
function pickFlash() {
// __flash 우선(민원용). 없으면 FLASH(success/error) 사용(점검용 유지)
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/views/complain/_detail.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<%-- 작성자: 최온유 --%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="jakarta.tags.core"%>
<%@ taglib prefix="fn" uri="jakarta.tags.functions"%>
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/WEB-INF/views/complain/complainlist.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<%-- 작성자: 최온유 --%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="jakarta.tags.core"%>
<%@ taglib prefix="fn" uri="jakarta.tags.functions"%>
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/views/mobile/checklist.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<%-- 작성자: 최온유 --%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/views/mobile/complain.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<%-- 작성자: 최온유 --%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<!doctype html>
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/views/mobile/inspectorValidate.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<%-- 작성자: 최온유 --%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<!doctype html>
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/views/mobile/mobileMain.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<%-- 작성자: 최온유 --%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
Expand Down