diff --git a/src/main/java/com/no1/wms/vendor/VendorDto.java b/src/main/java/com/no1/wms/vendor/VendorDto.java index 924effb..0d1bada 100644 --- a/src/main/java/com/no1/wms/vendor/VendorDto.java +++ b/src/main/java/com/no1/wms/vendor/VendorDto.java @@ -1,27 +1,27 @@ -package com.no1.wms.vendor; - -import org.apache.ibatis.type.Alias; - -import lombok.AllArgsConstructor; -import lombok.Data; -import lombok.NoArgsConstructor; - -@Data -@AllArgsConstructor - -@Alias("VendorDto") -public class VendorDto { - - private String id; - private String name; - private String president_name; - private String address; - private String registration_number; - private String email; - private String president_telephone; - private String vendor_manager; - private String vendor_manager_telephone; - private String main_product; - private String manager_id; - private boolean activation; -} +package com.no1.wms.vendor; + +import org.apache.ibatis.type.Alias; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@AllArgsConstructor + +@Alias("VendorDto") +public class VendorDto { + + private String id; + private String name; + private String president_name; + private String address; + private String registration_number; + private String email; + private String president_telephone; + private String vendor_manager; + private String vendor_manager_telephone; + private String main_product; + private String manager_id; + private boolean activation; +} diff --git a/src/main/resources/mappers/VendorMapper.xml b/src/main/resources/mappers/VendorMapper.xml index b1fbe85..b9c7550 100644 --- a/src/main/resources/mappers/VendorMapper.xml +++ b/src/main/resources/mappers/VendorMapper.xml @@ -1,106 +1,106 @@ - - - - - - - - - - - - - - - - - - - - update vendor - set name = #{name}, - president_name = #{president_name}, - address = #{address}, - registration_number = #{registration_number}, - email = #{email}, - president_telephone = #{president_telephone}, - vendor_manager = #{vendor_manager}, - vendor_manager_telephone = #{vendor_manager_telephone}, - main_product = #{main_product}, - manager_id = #{manager_id}, - activation = #{activation} - where id = #{id} - - - - - - - insert into vendor (id, name, president_name, address, registration_number, email, president_telephone, vendor_manager, vendor_manager_telephone, main_product, manager_id, activation) - values (UUID(), #{name}, #{president_name}, #{address}, #{registration_number}, #{email}, #{president_telephone}, #{vendor_manager}, #{vendor_manager_telephone}, #{main_product}, #{manager_id}, #{activation}) - - - - - - delete from vendor where id = #{id} - - + + + + + + + + + + + + + + + + + + + + update vendor + set name = #{name}, + president_name = #{president_name}, + address = #{address}, + registration_number = #{registration_number}, + email = #{email}, + president_telephone = #{president_telephone}, + vendor_manager = #{vendor_manager}, + vendor_manager_telephone = #{vendor_manager_telephone}, + main_product = #{main_product}, + manager_id = #{manager_id}, + activation = #{activation} + where id = #{id} + + + + + + + insert into vendor (id, name, president_name, address, registration_number, email, president_telephone, vendor_manager, vendor_manager_telephone, main_product, manager_id, activation) + values (UUID(), #{name}, #{president_name}, #{address}, #{registration_number}, #{email}, #{president_telephone}, #{vendor_manager}, #{vendor_manager_telephone}, #{main_product}, #{manager_id}, #{activation}) + + + + + + delete from vendor where id = #{id} + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/stock/list.jsp b/src/main/webapp/WEB-INF/views/stock/list.jsp index b7be395..9d62518 100644 --- a/src/main/webapp/WEB-INF/views/stock/list.jsp +++ b/src/main/webapp/WEB-INF/views/stock/list.jsp @@ -1,5 +1,5 @@ -<%@ page contentType="text/html; charset=UTF-8"%> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@ page contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> @@ -9,8 +9,11 @@ - - + + 재고 관리 @@ -23,12 +26,20 @@ + + + +
@@ -36,18 +47,19 @@
-
- + - - + +
@@ -67,8 +79,8 @@ - - + + ${start} ${dto.productName } ${dto.cls_nm_4 } @@ -90,21 +102,26 @@
@@ -129,7 +146,8 @@
- + @@ -155,7 +173,7 @@ - + ${start} ${dto.productName } ${dto.cls_nm_4 } @@ -177,21 +195,27 @@
@@ -209,11 +233,11 @@ \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/vendor/create.jsp b/src/main/webapp/WEB-INF/views/vendor/create.jsp index d29a0da..a9f37cf 100644 --- a/src/main/webapp/WEB-INF/views/vendor/create.jsp +++ b/src/main/webapp/WEB-INF/views/vendor/create.jsp @@ -1,253 +1,253 @@ -<%@ page contentType="text/html; charset=UTF-8" %> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> - - - - - 거래처 생성 - - - -
-

거래처 생성

-
-
-
- -
-
-
- - - <%-- 세션 만들어지고 value 수정--%> - - - - - -
- 업체명 - -
- -
- 대표자명 - -
- -
- 주소 - -
- -
- 사업자등록번호 - -
- -
- email - -
- -
- 대표번호 - -
- -
- 거래처 담당자 이름 - -
- -
- 거래처 담당자 연락 번호 - -
- -
- 주요품목 - -
- - -
-
-
-
-
-
- - - -
-
-
- - - - - -
- +<%@ page contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> + + + + + 거래처 생성 + + + +
+

거래처 생성

+
+
+
+
+
+
+
+ + + <%-- 세션 만들어지고 value 수정--%> + + + + + +
+ 업체명 + +
+ +
+ 대표자명 + +
+ +
+ 주소 + +
+ +
+ 사업자등록번호 + +
+ +
+ email + +
+ +
+ 대표번호 + +
+ +
+ 거래처 담당자 이름 + +
+ +
+ 거래처 담당자 연락 번호 + +
+ +
+ 주요품목 + +
+ + +
+
+
+
+
+
+ + + +
+
+
+
+ + + + +
+ \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/vendor/list.jsp b/src/main/webapp/WEB-INF/views/vendor/list.jsp index e97833e..078c088 100644 --- a/src/main/webapp/WEB-INF/views/vendor/list.jsp +++ b/src/main/webapp/WEB-INF/views/vendor/list.jsp @@ -1,203 +1,203 @@ -<%@ page contentType="text/html; charset=UTF-8"%> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> - - - - -거래처 관리 - - -
-

거래처 관리

-
-
-
-
-
-
-
-
- -
- - - - - - - - -
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - -
번호업체명대표번호거래처 담당자거래처 담당자 전화번호
${start} ${dto.name }${dto.president_telephone }${dto.vendor_manager }${dto.vendor_manager_telephone }
-
-
-
-
-
-
- ms-excel - - -
-
- -
-
- -
-
-
-
- - - - +<%@ page contentType="text/html; charset=UTF-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> + + + + +거래처 관리 + + +
+

거래처 관리

+
+
+
+
+
+
+
+
+ +
+ + + + + + + + +
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
번호업체명대표번호거래처 담당자거래처 담당자 전화번호
${start} ${dto.name }${dto.president_telephone }${dto.vendor_manager }${dto.vendor_manager_telephone }
+
+
+
+
+
+
+ ms-excel + + +
+
+ +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/vendor/read.jsp b/src/main/webapp/WEB-INF/views/vendor/read.jsp index c674fa2..2a3ed85 100644 --- a/src/main/webapp/WEB-INF/views/vendor/read.jsp +++ b/src/main/webapp/WEB-INF/views/vendor/read.jsp @@ -1,181 +1,181 @@ -<%@ page contentType="text/html; charset=UTF-8" %> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> - - - - - - 거래처 상세페이지 - - - -
- -
-

거래처 상세페이지

-
- -
-
-
-
-
-
-
-
-
- - - -
- 업체명 - -
- -
- 대표자명 - -
- -
- 주소 - -
- -
- 사업자등록번호 - -
- -
- email - -
- -
- 대표번호 - -
- -
- 거래처 담당자 이름 - -
- -
- 거래처 담당자 연락 번호 - -
- -
- 주요품목 - -
-
-
-
-
- -
- -
-
-
-
- - -
- - - - - +<%@ page contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + + + 거래처 상세페이지 + + + +
+ +
+

거래처 상세페이지

+
+ +
+
+
+
+
+
+
+
+
+ + + +
+ 업체명 + +
+ +
+ 대표자명 + +
+ +
+ 주소 + +
+ +
+ 사업자등록번호 + +
+ +
+ email + +
+ +
+ 대표번호 + +
+ +
+ 거래처 담당자 이름 + +
+ +
+ 거래처 담당자 연락 번호 + +
+ +
+ 주요품목 + +
+
+
+
+
+ +
+ +
+
+
+
+ + +
+ + + + + diff --git a/src/main/webapp/WEB-INF/views/vendor/update.jsp b/src/main/webapp/WEB-INF/views/vendor/update.jsp index 734d253..63a34dd 100644 --- a/src/main/webapp/WEB-INF/views/vendor/update.jsp +++ b/src/main/webapp/WEB-INF/views/vendor/update.jsp @@ -1,263 +1,263 @@ -<%@ page contentType="text/html; charset=UTF-8" %> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> - - - - - - 창고 정보 수정페이지 - - - -
-

창고 정보 수정페이지

-
-
-
-
- -
-
-
- - - - - - -
- 업체명 - -
- -
- 대표자명 - -
- -
- 주소 - -
- -
- 사업자등록번호 - -
- -
- email - -
- -
- 대표번호 - -
- -
- 거래처 담당자 이름 - -
- -
- 거래처 담당자 연락 번호 - -
- -
- 주요품목 - -
- - -
-
-
- -
-
-
- - -
-
-
-
-
- - - - +<%@ page contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> + + + + + + 창고 정보 수정페이지 + + + +
+

창고 정보 수정페이지

+
+
+
+
+ +
+
+
+ + + + + + +
+ 업체명 + +
+ +
+ 대표자명 + +
+ +
+ 주소 + +
+ +
+ 사업자등록번호 + +
+ +
+ email + +
+ +
+ 대표번호 + +
+ +
+ 거래처 담당자 이름 + +
+ +
+ 거래처 담당자 연락 번호 + +
+ +
+ 주요품목 + +
+ + +
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + +