Skip to content

Commit

Permalink
merge app
Browse files Browse the repository at this point in the history
  • Loading branch information
ntut-ben committed Nov 13, 2019
1 parent 1bd99f5 commit cfa49ed
Show file tree
Hide file tree
Showing 2,713 changed files with 365 additions and 35 deletions.
Empty file modified pom.xml
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/controller/recipeController.java
100644 → 100755
Empty file.
174 changes: 174 additions & 0 deletions src/main/java/Recipe/createRecipe.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
package Recipe;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.SQLException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import Recipe.model.MateralBean;
import Recipe.model.MethodBean;
import Recipe.model.RecipeBean;
import Recipe.service.MateralService;
import Recipe.service.MethodService;
import Recipe.service.RecipeService;
import createAccount.model.MemberBean;

public class createRecipe {
public static final String UTF8_BOM = "\uFEFF"; // 定義 UTF-8的BOM字元
private static ApplicationContext ctx;

public static void main(String[] args) throws IOException, SQLException, ParseException {

ctx = new ClassPathXmlApplicationContext("beans.xml");
SessionFactory factory = ctx.getBean(SessionFactory.class);
Session session = factory.getCurrentSession();

RecipeService recipeService = ctx.getBean(RecipeService.class);
MateralService materalService = ctx.getBean(MateralService.class);
// MethodService methodService = ctx.getBean(MethodService.class);

File file = new File("C:/ezfitData/createTable/recipe.data");
File file2 = new File("C:/ezfitData/createTable/method.data");
File file3 = new File("C:/ezfitData/createTable/materal.data");
// File file = new File("C:/Users/tmps8/Desktop/ezfitData/createTable/recipe.data");
// File file2 = new File("C:/Users/tmps8/Desktop/ezfitData/createTable/method.data");
// File file3 = new File("C:/Users/tmps8/Desktop/ezfitData/createTable/materal.data");

int n = 0;
String line = "";

Transaction tx = session.beginTransaction();
// recipe
try (FileInputStream fis = new FileInputStream(file);
InputStreamReader isr = new InputStreamReader(fis, "UTF8");
BufferedReader br = new BufferedReader(isr);) {

MemberBean mb = new MemberBean();
session.save(mb);

while ((line = br.readLine()) != null) {
System.out.println("line=" + line);
// 去除 UTF8_BOM: \uFEFF
// if (line.startsWith(UTF8_BOM)) {
// line = line.substring(1);
try {

String[] token = line.split("\\|");
RecipeBean recipe = new RecipeBean();
recipe.setChat(Integer.parseInt(token[0]));
recipe.setFileName(token[1]);
recipe.setGood(Integer.parseInt(token[2]));
recipe.setIntroduction(token[3]);
recipe.setPublished(Boolean.valueOf(token[4]));
recipe.setRecipeName(token[5]);
recipe.setSave(Integer.parseInt(token[6]));
recipe.setServings(Integer.parseInt(token[7]));
recipe.setSpendTime((token[8]));
// recipe.setMember(recipeDao.getMemberBeanByMemberId(token[9]));
recipe.setMember(recipeService.getMemberByMemberId(token[9]));

SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date date = sdf.parse("2019-11-11 10:54:17.943000");
recipe.setRecipeCreateTime(date);
// session.save(recipe);
recipeService.insertRecipe(recipe);
} catch (Exception e) {
e.printStackTrace();
}
++n;
// }
}
tx.commit();
System.out.println("新增Recipe紀錄,共成功=" + n);
}

// method
List<MethodBean> list = new ArrayList<>();
line = "";
factory = ctx.getBean(SessionFactory.class);
session = factory.getCurrentSession();
tx = session.beginTransaction();
try (FileInputStream fis = new FileInputStream(file2);
InputStreamReader isr = new InputStreamReader(fis, "UTF8");
BufferedReader br = new BufferedReader(isr);) {

while ((line = br.readLine()) != null) {
System.out.println("line=" + line);
// 去除 UTF8_BOM: \uFEFF
// if (line.startsWith(UTF8_BOM)) {
// line = line.substring(1);

String[] token = line.split("\\|");
MethodBean method = new MethodBean();
method.setDetail(token[0]);
method.setFileName(token[1]);
RecipeBean recipe = new RecipeBean();
recipe.setRecipeId(Integer.parseInt(token[2]));
method.setRecipe(recipe);

// session.save(method);
// list.add(method);
++n;
session.save(method);
// }
// methodService.insertMethod(list);
}
} catch (Exception e) {
e.printStackTrace();
}
// tx.commit();
System.out.println("新增Method紀錄,共成功=" + n);

// materal
// factory = ctx.getBean(SessionFactory.class);
// session = factory.getCurrentSession();
// tx = session.beginTransaction();
line = "";
// tx = session.beginTransaction();
try (FileInputStream fis = new FileInputStream(file3);
InputStreamReader isr = new InputStreamReader(fis, "UTF8");
BufferedReader br = new BufferedReader(isr);) {

while ((line = br.readLine()) != null) {
System.out.println("line=" + line);
// 去除 UTF8_BOM: \uFEFF
// if (line.startsWith(UTF8_BOM)) {
// line = line.substring(1);

String[] token = line.split("\\|");
MateralBean materal = new MateralBean();
materal.setMateralName(token[0]);
materal.setUnit(token[1]);

RecipeBean recipe = new RecipeBean();
recipe.setRecipeId(Integer.valueOf(token[2]));
materal.setRecipe(recipe);

SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date date = sdf.parse("2019-11-11 10:54:17.943000");
recipe.setRecipeCreateTime(date);

materalService.insertMateral(materal);
++n;

// }
}
System.out.println("新增Materal紀錄,共成功=" + n);
}
tx.commit();
}

}
Empty file modified src/main/java/Recipe/model/BoardBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/model/FollowedRecipeBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/model/GoodBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/model/KeyWordBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/model/MateralBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/model/MethodBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/model/RecipeBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/BoardDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/FollowedRecipeDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/GoodDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/Impl/BoardDao_Impl.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/Recipe/repository/Impl/GoodDao_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/Impl/KeyWordDao_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/Impl/MateralDao_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/Impl/MethodDao_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/Impl/RecipeDao_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/KeyWordDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/MateralDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/MethodDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/repository/RecipeDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/BoardService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/FollowedRecipeService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/GoodService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/Impl/BoardService_Impl.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/Recipe/service/Impl/GoodService_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/Impl/KeyWordService_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/Impl/MateralService_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/Impl/MethodService_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/Impl/RecipeService_Impl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/KeyWordService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/MateralService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/MethodService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/Recipe/service/RecipeService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/filter/ServiceController.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/init/web/CreateSessionFactoryListener.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/utils/DateYearTime.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/utils/GlobalString.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/utils/HibernateProxyTypeAdapter.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/utils/HibernateUtils.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/utils/SystemUtils2018.java
100644 → 100755
Empty file.
Empty file modified src/main/java/_00/utils/ToJson.java
100644 → 100755
Empty file.
Empty file modified src/main/java/config/RootAppConfig.java
100644 → 100755
Empty file.
Empty file modified src/main/java/config/WebAppConfig.java
100644 → 100755
Empty file.
Empty file modified src/main/java/config/WebAppInitializer.java
100644 → 100755
Empty file.
Empty file modified src/main/java/config/WebSocketConfig.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/.DS_Store
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/SendEmail.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/VeriCode.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/model/CodeBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/model/EncrypAES.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/model/MemberBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/repository/CodeDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/repository/CodeDaoImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/repository/MemberDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/repository/MemberDaoImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/service/CodeService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/service/Impl/CodeServiceImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/service/Impl/MemberServiceImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/createAccount/service/MemberService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/home/controller/Home.java
100644 → 100755
Empty file.
Empty file modified src/main/java/login/.DS_Store
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/main/java/login/controller/Member.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ public String updatePwdAPI(Model model, HttpServletRequest request, HttpServletR

}

// 拿取會員資料
// 拿取會員資料(App)
@RequestMapping(value = "/api/mobile/memberInfo", method = RequestMethod.POST, produces = "application/json;charset=utf-8")
public @ResponseBody String memberInfo(@RequestParam("memberEmail") String memberEmail,
@RequestParam("memberPassword") String memberPassword, HttpServletRequest request,
Expand Down
Empty file modified src/main/java/login/controller/VerifyRecaptcha.java
100644 → 100755
Empty file.
Empty file modified src/main/java/login/filter/FindUserPassword.java
100644 → 100755
Empty file.
Empty file modified src/main/java/login/filter/LoginCheckingFilter.java
100644 → 100755
Empty file.
Empty file modified src/main/java/login/model/LogoutBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/login/service/Impl/LoginServiceImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/login/service/LoginService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/CreateTable.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/HelloWorld.java
100644 → 100755
Empty file.
139 changes: 139 additions & 0 deletions src/main/java/shopping/controller/Mall.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,145 @@ public String groupBuyJoin(@PathVariable("group") String group, HttpServletReque
String json = new ToJson<Map<String, String>>().getJson(status);
return json;
}


// 購物車結帳商品(個人App)
@RequestMapping(value = "api/shopCartApp/bill", produces = "application/json;charset=utf-8", method = RequestMethod.POST)
public @ResponseBody String billCartItemApp(
@RequestParam("memberEmail") String email,
@RequestParam("memberPassword") String password,
@RequestParam("subscriberName") String subscriberName,
@RequestParam("subscriberPhone") String subscriberPhone,
@RequestParam("subscriberEmail") String subscriberEmail,
@RequestParam("subscribercity") String subscriberCity,
@RequestParam("subscriberdistrict") String subscriberDistrict,
@RequestParam("subscriberzipCode") String subscriberZipCode,
@RequestParam("subscriberAddress") String subscriberAddress,
@RequestParam("name") String shippingName,
@RequestParam("phone") String shippingPhone,
@RequestParam("county") String shippingCity,
@RequestParam("district") String shippingDistrict,
@RequestParam("zipcode") String shippingZipCode,
@RequestParam("address") String shippingAddress,
HttpServletRequest req) {

System.out.println("購物車結帳商品(個人App) api/shopCartApp/bill 測試.....");
System.out.println("email = " + email);
System.out.println("password = " + password);
System.out.println("subscriberName = " + subscriberName);
System.out.println("subscriberPhone = " + subscriberPhone);
System.out.println("subscriberEmail = " + subscriberEmail);
System.out.println("subscriberCity = " + subscriberCity);
System.out.println("subscriberDistrict = " + subscriberDistrict);
System.out.println("subscriberZipCode = " + subscriberZipCode);
System.out.println("subscriberAddress = " + subscriberAddress);
System.out.println("shippingName = " + shippingName);
System.out.println("shippingPhone = " + shippingPhone);
System.out.println("shippingCity = " + shippingCity);
System.out.println("shippingDistrict = " + shippingDistrict);
System.out.println("shippingZipCode = " + shippingZipCode);
System.out.println("shippingAddress = " + shippingAddress);

password = EncrypAES.getMD5Endocing(EncrypAES.encryptString(password));
MemberBean memberBean = null;
memberBean = loginService.checkIDPassword(email, password);

totalAmount = 0;
Map<String, String> errorMsg = new HashMap<String, String>();


if (subscriberName.trim() == "") {
errorMsg.put("errorSubName", "請輸入購買人姓名");
}

if (subscriberPhone.trim() == "") {
errorMsg.put("errorSubPhone", "請輸入購買人手機號碼");
} else if (!(subscriberPhone.length() == 10) || !StringUtils.isNumeric(subscriberPhone)) {
errorMsg.put("errorSubPhone", "手機號碼為10位數字");
}

if (subscriberEmail.trim() == "") {
errorMsg.put("errorSubEmail", "請輸入購買人信箱");
}

if (subscriberAddress.trim() == "") {
errorMsg.put("errorSubAddress", "請輸入購買人地址");
}

if (shippingName.trim() == "") {
errorMsg.put("errorShipName", "請輸入收件人姓名");
}

if (shippingPhone.trim() == "") {
errorMsg.put("errorShipPhone", "請輸入收件人電話");
} else if (!(shippingPhone.length() == 10) || !StringUtils.isNumeric(shippingPhone)) {
errorMsg.put("errorShipPhone", "手機號碼為10位數字");
}

if (shippingAddress.trim() == "") {
errorMsg.put("errorShipAddress", "請輸入收件人地址");
}

if (errorMsg.size() > 0) {
Gson gson = new Gson();
String eMsg = gson.toJson(errorMsg);
return eMsg;
} else {

orderBean = new OrderBean();
orderItemBeans = new ArrayList<OrderItemBean>();
orderBean.setShippingAddress(shippingAddress);
orderBean.setShippingCity(shippingCity);
orderBean.setShippingDistrict(shippingDistrict);
orderBean.setShippingName(shippingName);
orderBean.setShippingPhone(shippingPhone);
orderBean.setSubscriberAddress(subscriberAddress);
orderBean.setSubscriberCity(subscriberCity);
orderBean.setSubscriberDistrict(subscriberDistrict);
orderBean.setSubscriberEmail(subscriberEmail);
orderBean.setSubscriberName(subscriberName);
orderBean.setSubscriberPhone(subscriberPhone);
orderBean.setSubscriberZipCode(subscriberZipCode);
orderBean.setShippingZipCode(shippingZipCode);
orderBean.setGroupBuyBean(null);
if (memberBean != null) {
cartItems = cartItemService.checkAllItems(memberBean);
for (Iterator iterator = cartItems.iterator(); iterator.hasNext();) {
OrderItemBean orderItemBean = new OrderItemBean();
cartItem = (CartItem) iterator.next();
if (cartItem.getPlaneItems() != null && cartItem.getPlaneItems().size() != 0) {
List<OrderPlaneItem> orderPlaneItems = new ArrayList<OrderPlaneItem>();
List<PlaneItem> planeItems = cartItem.getPlaneItems();
for (Iterator iterator2 = planeItems.iterator(); iterator2.hasNext();) {
PlaneItem planeItem = (PlaneItem) iterator2.next();
OrderPlaneItem orderPlaneItem = new OrderPlaneItem();
orderPlaneItem.setCuisineProduct(planeItem.getCuisineProduct());
orderPlaneItems.add(orderPlaneItem);
}
orderItemBean.setShipDate(cartItem.getShipDate());
orderItemBean.setPlaneItems(orderPlaneItems);
totalAmount += 90;
}

orderItemBean.setQty(cartItem.getQty());
orderItemBean.setSubTotal(cartItem.getSubTotal());
orderItemBean.setProduct(cartItem.getProduct());
orderItemBeans.add(orderItemBean);
totalAmount += cartItem.getSubTotal();
cartItemService.remove(cartItem.getProduct().getId(), memberBean);
}
orderBean.setTotalAmount(totalAmount);
Timestamp ts = new java.sql.Timestamp(System.currentTimeMillis());
orderBean.setOrderItemBeans(orderItemBeans);
orderBean.setCreateTime(ts);
orderBean.setMemberBean(memberBean);
orderService.save(orderBean);

return null;
}
}
return null;
}

// 食材加入購物車 (非團購App)
@RequestMapping(value = "api/shopCartApp/add", method = RequestMethod.POST, produces = "application/json;charset=utf-8")
Expand Down
Empty file modified src/main/java/shopping/model/CartItem.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/CuisineProduct.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/GroupBuyBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/IngredientProduct.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/OrderBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/OrderItemBean.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/OrderPlaneItem.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/PlaneItem.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/PlaneProduct.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/Product.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/model/ProductCategory.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/CartItemDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/CuisineProductDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/GroupBuyDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/IngredientProductDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/OrderDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/OrderItemDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/OrderItemService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/PlaneProductDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/ProductCategoryDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/ProductDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/impl/CartItemDaoImpl.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/shopping/repository/impl/GroupBuyDaoImpl.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/shopping/repository/impl/OrderDaoImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/impl/OrderItemDaoImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/impl/PlaneItemDaoImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/impl/PlaneProductDaoImpl.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/shopping/repository/impl/ProductDaoImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/repository/planeItemDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/CartItemService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/CuisineProductService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/GroupBuyService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/IngredientProductService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/OrderService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/PlaneItemService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/PlaneProductService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/ProductCategoryService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/ProductService.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/impl/CartItemServiceImpl.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/shopping/service/impl/GroupBuyServiceImpl.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/shopping/service/impl/OrderItemServiceImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/impl/OrderServiceImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/shopping/service/impl/PlaneItemServiceImpl.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified src/main/java/shopping/service/impl/ProductServiceImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/component/CrAlert.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/component/CrAlertException.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/component/CrContact.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/component/CrMessage.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/component/CrMessageService.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified src/main/java/websocket/repository/MessageDao.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/repository/impl/MessageDaoImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/service/Impl/MessageServiceImpl.java
100644 → 100755
Empty file.
Empty file modified src/main/java/websocket/service/MessageService.java
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/main/resources/beans.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd">

<context:component-scan base-package="shopping,createAccount,login"></context:component-scan>
<context:component-scan base-package="shopping,createAccount,login,Recipe"></context:component-scan>


<bean id="dataSourceMySQL"
Expand Down
Empty file modified src/main/resources/data/productCuisine.data
100644 → 100755
Empty file.
Empty file modified src/main/resources/data/productFood.data
100644 → 100755
Empty file.
Empty file modified src/main/resources/data/productPlane.data
100644 → 100755
Empty file.
Empty file modified src/main/resources/db.properties
100644 → 100755
Empty file.
Empty file modified src/main/resources/hibernate.cfg.xml
100644 → 100755
Empty file.
Empty file modified src/main/resources/productImage/001-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/001-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/002-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/002-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/003-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/003-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/004-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/004-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/005-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/006-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/006-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/007-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/007-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/008-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/008-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/009-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/009-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/010-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/010-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/011-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/011-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/012-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/012-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/013-1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/013-2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/main/resources/productImage/014-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/014-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/015-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/015-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/016-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/016-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/017-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/017-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/018-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/018-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/019-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/019-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/020-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/020-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/021-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/021-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/022-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/022-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/023-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/023-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/024-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/024-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/025-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/025-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/026-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/026-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/027-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/027-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/028-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/028-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/029-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/029-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/030-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/031-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/032-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/033-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/034-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/035-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/036-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/037-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/037-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/038-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/038-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/039-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/040-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/041-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/041-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/042-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/042-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/043-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1000-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1000-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1001-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1001-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1002-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1002-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1003-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1003-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1004-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1004-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1005-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1005-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1006-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1006-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1007-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1007-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1008-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1008-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1009-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1009-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1010-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1010-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1011-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1011-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1012-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1013-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1014-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1015-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1016-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1017-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1018-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1019-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1019-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1020-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1020-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1021-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1021-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1022-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1022-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1023-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1023-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1024-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1024-2.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1025-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1026-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1027-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1028-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1029-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1030-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1031-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1032-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1033-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1034-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1035-1.jpg
100644 → 100755
Empty file modified src/main/resources/productImage/1036-1.jpg
100644 → 100755
Empty file modified src/main/resources/update.sql
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/cartList.jsp
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/chat.jsp
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/createAccount/.DS_Store
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/createAccount/createAccount.jsp
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/createAccount/img/.DS_Store
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/createAccount/img/OR.png
100644 → 100755
Empty file modified src/main/webapp/WEB-INF/views/createAccount/img/background.png
100644 → 100755
Empty file modified src/main/webapp/WEB-INF/views/createAccount/img/loginFB.png
100644 → 100755
Empty file modified src/main/webapp/WEB-INF/views/createAccount/img/loginGoogle.png
100644 → 100755
Empty file modified src/main/webapp/WEB-INF/views/createAccount/img/logo.png
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/createAccount/js/createAccount.js
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/createAccount/js/facebook.js
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/createAccount/js/getEmail.js
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/css/.DS_Store
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/css/bootstrap-social.css
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/css/bootstrap-social.less
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/css/cartList_main.css
100644 → 100755
Empty file.
Empty file modified src/main/webapp/WEB-INF/views/css/faqs.css
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading

0 comments on commit cfa49ed

Please sign in to comment.