#MobileList
Explore tagged Tumblr posts
Text
Need targeted mobile phone lists for your business?
Discover our solutions: https://buy-database-mobile-phone-list.com/
#MobileLists #Business #CaseStudies #Transformation #buydatabasemobilephonelist #buydatabasemobilephone #buydatabasemobilephone #buydatabasemobile #buydatabase #buydata #buydatamobile #datamobile #datamobilephone #buydatalist #data #datalist #database #buydatabasemobile
0 notes
Link
Huawei Y9 (2019) Launch in India Today! http://bit.ly/2H2w5Go #HuaweiY9 #HuaweiY9Price #MobileList #bestupcomingmobiles #Androidmobile #Smartphones
0 notes
Note
Could you pls make a mobile masterlist?
I have a mobilelist that works on mobile and it seems to be working so far, but if it causes problems I'll make an actual textpost masterlist.
1 note
·
View note
Note
I was wondering if you had a masterlist because I don't want to miss any of your wonderful works, thanks so much!!
http://gabrielxreader.tumblr.com/masterlist
http://gabrielxreader.tumblr.com/mobilelist
If you go on the blog page...it’s pretty easy to find
-Gwen
16 notes
·
View notes
Text
MemberController.java
package com.masterprojectoriginal.controller;
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.List;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping;
import com.masterprojectoriginal.pojo.Member; import com.masterprojectoriginal.pojo.PageModel; import com.masterprojectoriginal.pojo.QueryVo; import com.masterprojectoriginal.service.MemberService;
@Controller @RequestMapping("member") public class MemberController {
@Autowired private MemberService memberService;
@RequestMapping("mainPage") public String mainPage(String num, Model model) { PageModel page = memberService.getLimitedMemberList(num); page.setUrl("mainPage.action"); model.addAttribute("page", page); return "main"; } @RequestMapping("mobileList") public String mobileList(Model model) { List<Member> memberList = memberService.getMemberList(); model.addAttribute("moblileMemberList", memberList); return "mobile_list"; } @RequestMapping("mobileInfo") public String mobileInfo(String id, Model model) { Member member = memberService.findMemberById(id); model.addAttribute("member", member); String[] fsArr = member.getFs().split("#"); String[] honorsArr = member.getHonors().split("#"); String[] profileArr = member.getProfile().split("#"); model.addAttribute("fs", fsArr); model.addAttribute("honors", honorsArr); model.addAttribute("profile", profileArr); return "mobile_info"; }
@RequestMapping("memberInfo") public String memberInfo(String id, Model model) { Member member = memberService.findMemberById(id); model.addAttribute("member", member); String[] fsArr = member.getFs().split("#"); String[] honorsArr = member.getHonors().split("#"); String[] profileArr = member.getProfile().split("#"); model.addAttribute("fs", fsArr); model.addAttribute("honors", honorsArr); model.addAttribute("profile", profileArr); return "member_info"; } @RequestMapping("mobileQuery") public String mobileQuery(QueryVo vo, Model model) throws ParseException { //Call the service List<Member> memberList = memberService.getLimitedMemberListByQueryVo(vo); model.addAttribute("queryResultList", memberList); return "mobile_list"; }
@RequestMapping("queryResult") public String queryResult(QueryVo vo, Model model) throws ParseException { if(vo.getAge()!=null && vo.getAge()!="") { String[] split = vo.getAge().split("-"); String age1 = split[0].substring(1, 3); String age2 = split[1].substring(1, 3); Calendar cal = Calendar.getInstance(); int yearNow = cal.get(Calendar.YEAR); //Converts the passed age parameter to Date type data(birthday) int yearBirth1 = yearNow-(Integer.parseInt(age1)); int yearBirth2 = yearNow-(Integer.parseInt(age2)); String strBirth1 = Integer.toString(yearBirth2)+"-1-1"; String strBirth2 = Integer.toString(yearBirth1)+"-12-31"; Date birthday1 = new SimpleDateFormat("yyyy-MM-dd").parse(strBirth1); Date birthday2 = new SimpleDateFormat("yyyy-MM-dd").parse(strBirth2); //Store the resulting data in the QueryVo vo.setBirthday1(birthday1); vo.setBirthday2(birthday2); } //Call the service List<Member> memberList = memberService.getLimitedMemberListByQueryVo(vo); model.addAttribute("memberList", memberList); return "main"; } @RequestMapping("logout") public String logout(HttpServletRequest request) {
HttpSession session = request.getSession(); if (session.getAttribute("loginMember") != null) { session.invalidate(); } return "redirect:/member/mainPage.action?num=1"; } }
0 notes