...
|
...
|
@@ -4,6 +4,7 @@ |
|
|
package com.thinkgem.jeesite.modules.land.web;
|
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -33,8 +34,11 @@ import com.thinkgem.jeesite.modules.land.entity.VehicleMainifist; |
|
|
import com.thinkgem.jeesite.modules.land.service.LandBusinesstypeListService;
|
|
|
import com.thinkgem.jeesite.modules.land.service.LandRoadVeRecordService;
|
|
|
import com.thinkgem.jeesite.modules.land.service.VehicleMainifistService;
|
|
|
import com.thinkgem.jeesite.modules.sys.entity.Office;
|
|
|
import com.thinkgem.jeesite.modules.sys.entity.Role;
|
|
|
import com.thinkgem.jeesite.modules.sys.entity.User;
|
|
|
import com.thinkgem.jeesite.modules.sys.security.SystemAuthorizingRealm.Principal;
|
|
|
import com.thinkgem.jeesite.modules.sys.service.OfficeService;
|
|
|
import com.thinkgem.jeesite.modules.sys.service.SystemService;
|
|
|
import com.thinkgem.jeesite.modules.sys.utils.UserUtils;
|
|
|
import com.thinkgem.jeesite.modules.yard.entity.Bayonet;
|
...
|
...
|
@@ -69,6 +73,9 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
|
|
|
@Autowired
|
|
|
private SystemService systemService;
|
|
|
|
|
|
@Autowired
|
|
|
private OfficeService officeService;
|
|
|
|
|
|
private static final String TYPE1 = "调拨业务";
|
|
|
private static final String TYPE2 = "进口提货";
|
...
|
...
|
@@ -94,11 +101,30 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
Principal principal = UserUtils.getPrincipal();
|
|
|
String loginName = principal.getLoginName();
|
|
|
User user = systemService.getUserByLoginName(loginName);
|
|
|
landBusinesstypeList.setCreateBy(user);
|
|
|
Yard yard = new Yard();
|
|
|
List<Yard> yardList = yardService.findList(yard);
|
|
|
Page<LandBusinesstypeList> page = landBusinesstypeListService
|
|
|
.findPage(new Page<LandBusinesstypeList>(request, response), landBusinesstypeList);
|
|
|
List<LandBusinesstypeList> lists = new ArrayList<LandBusinesstypeList>();
|
|
|
Page<LandBusinesstypeList> page = null;
|
|
|
if ("2".equals(user.getUserType())) {
|
|
|
Office office = officeService.get(user.getOffice());
|
|
|
List<User> u = systemService.findByOfficeId(office.getId());
|
|
|
for (int i = 0; i < u.size(); i++) {
|
|
|
landBusinesstypeList.setCreateBy(u.get(i));
|
|
|
page = landBusinesstypeListService
|
|
|
.findPage(new Page<LandBusinesstypeList>(request, response), landBusinesstypeList);
|
|
|
lists.addAll(page.getList());
|
|
|
}
|
|
|
} else {
|
|
|
Role role = systemService.getByUserId(user.getId());
|
|
|
if("admin".equals(role.getEnname())||"leader".equals(role.getEnname())) {
|
|
|
landBusinesstypeList.setCreateBy(systemService.getUserByLoginName("admin"));
|
|
|
}else {
|
|
|
landBusinesstypeList.setCreateBy(user);
|
|
|
}
|
|
|
page = landBusinesstypeListService.findPage(new Page<LandBusinesstypeList>(request, response), landBusinesstypeList);
|
|
|
lists.addAll(page.getList());
|
|
|
}
|
|
|
page.setList(lists);
|
|
|
model.addAttribute("yardList", yardList);
|
|
|
model.addAttribute("page", page);
|
|
|
return "modules/land/landBusinesstypeListList";
|
...
|
...
|
@@ -108,30 +134,54 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
@RequiresPermissions("land:landBusinesstypeList:view")
|
|
|
@RequestMapping(value = "check")
|
|
|
@ResponseBody
|
|
|
public Page<LandRoadVeRecord> list(String frameNo) throws Exception {
|
|
|
Page<LandRoadVeRecord> page = new Page<LandRoadVeRecord>();
|
|
|
public Page<LandRoadVeRecord> list(String frameNo, LandBusinesstypeList landBusinesstypeList,
|
|
|
HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
|
LandRoadVeRecord landRoadVeRecord = new LandRoadVeRecord();
|
|
|
landRoadVeRecord.setDomesticLisenceNo(frameNo);
|
|
|
landRoadVeRecord.setCreateBy(systemService.getUserByLoginName("admin"));
|
|
|
Page<LandRoadVeRecord> page = roadVeService.findPage(new Page<LandRoadVeRecord>(request, response),
|
|
|
landRoadVeRecord);
|
|
|
|
|
|
List<LandBusinesstypeList> list = landBusinesstypeListService.findByStatus(frameNo);
|
|
|
List<LandRoadVeRecord> veList = roadVeService.selectByFrameNo(frameNo);
|
|
|
List<LandRoadVeRecord> veList = page.getList();
|
|
|
String userName = null;
|
|
|
if (veList.size() < 1) {
|
|
|
page.setResultMsg("此车辆未备案,请先备案");
|
|
|
} else {
|
|
|
if (list.size() > 0) {
|
|
|
boolean check = false;
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
|
boolean flag = (list.get(i).getContrastflag() == null
|
|
|
|| list.get(i).getContrastflag().length() < 1);
|
|
|
if ("I".equals(list.get(i).getTurnoverflag()) && flag) {
|
|
|
page.setResultMsg("此车辆已存在进出场业务,请勿重新申报");
|
|
|
} else if ("E".equals(list.get(i).getTurnoverflag()) && flag) {
|
|
|
page.setResultMsg("此车辆已存在进出场业务,请勿重新申报");
|
|
|
} else {
|
|
|
page.setResultMsg("此车辆可以正常申报业务");
|
|
|
if ("0".equals(list.get(i).getIsvalid())) {
|
|
|
User id = list.get(i).getCreateBy();
|
|
|
User ue = systemService.getUser(id.toString());
|
|
|
userName = ue.getName();
|
|
|
boolean flag = (list.get(i).getContrastflag() == null
|
|
|
|| list.get(i).getContrastflag().length() < 1);
|
|
|
if ("I".equals(list.get(i).getTurnoverflag()) && flag) {
|
|
|
page.setResultMsg("此车辆已存在进出场业务,请勿重新申报");
|
|
|
check = true;
|
|
|
break;
|
|
|
}
|
|
|
if ("E".equals(list.get(i).getTurnoverflag()) && flag) {
|
|
|
page.setResultMsg("此车辆已存在进出场业务,请勿重新申报");
|
|
|
check = true;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
if (!check) {
|
|
|
page.setResultMsg("此车辆可以正常申报业务");
|
|
|
}
|
|
|
} else {
|
|
|
page.setResultMsg("此车辆可以正常申报业务");
|
|
|
}
|
|
|
}
|
|
|
for (int i = 0; i < veList.size(); i++) {
|
|
|
User id = veList.get(i).getCreateBy();
|
|
|
User ue = systemService.getUser(id.toString());
|
|
|
veList.get(i).setVeTargetNo(ue.getName());
|
|
|
veList.get(i).setVeProperty(userName);
|
|
|
}
|
|
|
page.setList(veList);
|
|
|
return page;
|
|
|
|
...
|
...
|
@@ -175,6 +225,13 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
if (!beanValidator(model, landBusinesstypeList)) {
|
|
|
return form(landBusinesstypeList, model);
|
|
|
}
|
|
|
if(!(landBusinesstypeList.getIsvalid()!=null)) {
|
|
|
List<LandBusinesstypeList> lists = landBusinesstypeListService.findByIsValid(landBusinesstypeList.getTrailerFrameNo(), "0");
|
|
|
if(lists.size()>0) {
|
|
|
addMessage(redirectAttributes, "当前车辆已做出入申请,请重新录入");
|
|
|
return "redirect:" + Global.getAdminPath() + "/land/landBusinesstypeList/?repage";
|
|
|
}
|
|
|
}
|
|
|
boolean flag = false;
|
|
|
landBusinesstypeList.setIsDelete("0");
|
|
|
landBusinesstypeList.setIsvalid("0");
|
...
|
...
|
@@ -199,7 +256,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
flag=true;
|
|
|
flag = true;
|
|
|
} else {
|
|
|
if (TYPE1.equals(landBusinesstypeList.getBusinesstype())) {
|
|
|
flag = insertType1(landBusinesstypeList);
|
...
|
...
|
@@ -214,12 +271,12 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
flag = insertType1(landBusinesstypeList);
|
|
|
}
|
|
|
}
|
|
|
if(flag) {
|
|
|
if (flag) {
|
|
|
addMessage(redirectAttributes, "保存申请单成功");
|
|
|
}else {
|
|
|
} else {
|
|
|
addMessage(redirectAttributes, "保存申请单失败,请重新录入");
|
|
|
}
|
|
|
|
|
|
|
|
|
return "redirect:" + Global.getAdminPath() + "/land/landBusinesstypeList/?repage";
|
|
|
}
|
|
|
|
...
|
...
|
@@ -247,6 +304,23 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
|
|
|
return "redirect:" + Global.getAdminPath() + "/land/landBusinesstypeList/?repage";
|
|
|
}
|
|
|
|
|
|
@RequiresPermissions("land:landBusinesstypeList:edit")
|
|
|
@RequestMapping(value = "update")
|
|
|
public String update(LandBusinesstypeList landBusinesstypeList, RedirectAttributes redirectAttributes)
|
|
|
throws Exception {
|
|
|
List<LandBusinesstypeList> list = landBusinesstypeListService.findByBarcode(landBusinesstypeList.getBarcode());
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
|
list.get(i).setIsvalid("1");
|
|
|
if("E".equals(list.get(i).getTurnoverflag())) {
|
|
|
list.get(i).setContrastflag("非正常出站");
|
|
|
}
|
|
|
landBusinesstypeListService.updateEntry(list.get(i));
|
|
|
}
|
|
|
buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
|
return "redirect:" + Global.getAdminPath() + "/land/landBusinesstypeList/?repage";
|
|
|
}
|
|
|
|
|
|
|
|
|
public boolean insertType1(LandBusinesstypeList landBusinesstypeList) {
|
|
|
boolean flag = false;
|
...
|
...
|
@@ -277,6 +351,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
list.setIsDelete("0");
|
|
|
list.setIsvalid("0");
|
|
|
list.setIsfull(isfull);
|
|
|
list.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
list.setCocode(landBusinesstypeList.getCocode());
|
|
|
list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
...
|
...
|
@@ -298,6 +373,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
list1.setIsDelete("0");
|
|
|
list1.setIsvalid("0");
|
|
|
list1.setIsfull(isfull);
|
|
|
list1.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
list1.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
list1.setCocode(landBusinesstypeList.getCocode());
|
|
|
list1.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
...
|
...
|
@@ -321,6 +397,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
list2.setIsDelete("0");
|
|
|
list2.setIsvalid("0");
|
|
|
list2.setIsfull(isfull);
|
|
|
list2.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
list2.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
list2.setCocode(landBusinesstypeList.getCocode());
|
|
|
list2.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
...
|
...
|
@@ -339,19 +416,26 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
list2.setMassageId(messageId);
|
|
|
landBusinesstypeListService.save(list2);
|
|
|
|
|
|
|
|
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
|
|
List<LandBusinesstypeList> typeList = landBusinesstypeListService.findByMessageId(messageId);
|
|
|
int count = 0;
|
|
|
for (int i = 0; i < typeList.size(); i++) {
|
|
|
typeList.get(i).setBarcode(barCode);
|
|
|
landBusinesstypeListService.updateEntry(typeList.get(i));
|
|
|
flag = true;
|
|
|
count++;
|
|
|
if (count == typeList.size()) {
|
|
|
flag = true;
|
|
|
}
|
|
|
}
|
|
|
if (barCode==null) {
|
|
|
int countType = 0;
|
|
|
if (barCode == null) {
|
|
|
List<LandBusinesstypeList> typeList1 = landBusinesstypeListService.findByMessageId(messageId);
|
|
|
for (int i = 0; i < typeList1.size(); i++) {
|
|
|
landBusinesstypeListService.deleteByMessageId(typeList1.get(i));
|
|
|
flag =false;
|
|
|
countType++;
|
|
|
if (countType == typeList1.size()) {
|
|
|
flag = false;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|
...
|
...
|
@@ -362,7 +446,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
}
|
|
|
|
|
|
public boolean insertType2(LandBusinesstypeList landBusinesstypeList) {
|
|
|
|
|
|
|
|
|
boolean flag = false;
|
|
|
try {
|
|
|
|
...
|
...
|
@@ -382,6 +466,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
list.setIsDelete("0");
|
|
|
list.setIsvalid("0");
|
|
|
list.setIsfull(isfull);
|
|
|
list.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
list.setCocode(landBusinesstypeList.getCocode());
|
|
|
list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
...
|
...
|
@@ -399,16 +484,24 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
landBusinesstypeListService.save(list);
|
|
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
|
|
List<LandBusinesstypeList> typeList = landBusinesstypeListService.findByMessageId(messageId);
|
|
|
int count = 0;
|
|
|
for (int i = 0; i < typeList.size(); i++) {
|
|
|
typeList.get(i).setBarcode(barCode);
|
|
|
landBusinesstypeListService.updateEntry(typeList.get(i));
|
|
|
flag = true;
|
|
|
count++;
|
|
|
if (count == typeList.size()) {
|
|
|
flag = true;
|
|
|
}
|
|
|
}
|
|
|
if (barCode==null) {
|
|
|
int countType = 0;
|
|
|
if (barCode == null) {
|
|
|
List<LandBusinesstypeList> typeList1 = landBusinesstypeListService.findByMessageId(messageId);
|
|
|
for (int i = 0; i < typeList1.size(); i++) {
|
|
|
landBusinesstypeListService.deleteByMessageId(typeList1.get(i));
|
|
|
flag=false;
|
|
|
countType++;
|
|
|
if (countType == typeList.size()) {
|
|
|
flag = false;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|
...
|
...
|
@@ -418,7 +511,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
}
|
|
|
|
|
|
public boolean insertType3(LandBusinesstypeList landBusinesstypeList) {
|
|
|
|
|
|
|
|
|
boolean flag = false;
|
|
|
try {
|
|
|
// first entry
|
...
|
...
|
@@ -436,6 +529,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
list.setIsDelete("0");
|
|
|
list.setIsvalid("0");
|
|
|
list.setIsfull(isfull);
|
|
|
list.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
list.setCocode(landBusinesstypeList.getCocode());
|
|
|
list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
...
|
...
|
@@ -451,19 +545,27 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
list.setTurnoverflag("E");
|
|
|
list.setMassageId(messageId);
|
|
|
landBusinesstypeListService.save(list);
|
|
|
|
|
|
|
|
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
|
|
List<LandBusinesstypeList> typeList = landBusinesstypeListService.findByMessageId(messageId);
|
|
|
int count = 0;
|
|
|
for (int i = 0; i < typeList.size(); i++) {
|
|
|
typeList.get(i).setBarcode(barCode);
|
|
|
landBusinesstypeListService.updateEntry(typeList.get(i));
|
|
|
flag = true;
|
|
|
count++;
|
|
|
if (count == typeList.size()) {
|
|
|
flag = true;
|
|
|
}
|
|
|
}
|
|
|
if (barCode==null) {
|
|
|
int countType = 0;
|
|
|
if (barCode == null) {
|
|
|
List<LandBusinesstypeList> typeList1 = landBusinesstypeListService.findByMessageId(messageId);
|
|
|
for (int i = 0; i < typeList1.size(); i++) {
|
|
|
landBusinesstypeListService.deleteByMessageId(typeList1.get(i));
|
|
|
flag = false;
|
|
|
countType++;
|
|
|
if (countType == typeList.size()) {
|
|
|
flag = false;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|
...
|
...
|
@@ -550,43 +652,85 @@ public class LandBusinesstypeListController extends BaseController { |
|
|
public static String dateTimeFormat() {
|
|
|
Date dateTime = new Date();
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
String str = String.valueOf(new Random().nextInt(9999)+1);
|
|
|
if(str.length()==1) {
|
|
|
str = "000"+str;
|
|
|
}else if(str.length()==2) {
|
|
|
str = "00"+str;
|
|
|
}else if(str.length()==3) {
|
|
|
str = "0"+str;
|
|
|
String str = String.valueOf(new Random().nextInt(9999) + 1);
|
|
|
if (str.length() == 1) {
|
|
|
str = "000" + str;
|
|
|
} else if (str.length() == 2) {
|
|
|
str = "00" + str;
|
|
|
} else if (str.length() == 3) {
|
|
|
str = "0" + str;
|
|
|
}
|
|
|
str = format.format(dateTime)+str;
|
|
|
str = format.format(dateTime) + str;
|
|
|
return str;
|
|
|
}
|
|
|
|
|
|
|
|
|
public void insertVm(String id, String frameNo, String mainfistList) {
|
|
|
|
|
|
List<VehicleMainifist> vmList = veMainService.selectByBueId(id);
|
|
|
|
|
|
if (mainfistList.length() > 0) {
|
|
|
String[] list = mainfistList.replace(",", ",").split(",");
|
|
|
if (vmList.size() > list.length) {
|
|
|
for (int j = 0; j < vmList.size(); j++) {
|
|
|
for (int i = 0; i < list.length; i++) {
|
|
|
if (vmList.get(j).getMainifist() != list[i]) {
|
|
|
veMainService.deleteEntry(vmList.get(j));
|
|
|
String[] list = mainfistList.replaceAll(",", ",").replaceAll("-", "").split(",");
|
|
|
boolean flag = vmList.size() == 0;
|
|
|
boolean listFlag = "".equals(list[0]);
|
|
|
if (listFlag) {
|
|
|
if (!flag) {
|
|
|
for (int i = 0; i < vmList.size(); i++) {
|
|
|
veMainService.deleteEntry(vmList.get(i));
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
if (!listFlag) {
|
|
|
if (flag) {
|
|
|
for (int i = 0; i < list.length; i++) {
|
|
|
VehicleMainifist vm = veMainService.selectByVm(id, list[i]);
|
|
|
if (vm == null) {
|
|
|
VehicleMainifist vehicleMainifist = new VehicleMainifist();
|
|
|
vehicleMainifist.setBusinessId(id);
|
|
|
vehicleMainifist.setBusinessNum(frameNo);
|
|
|
vehicleMainifist.setMainifist(list[i]);
|
|
|
veMainService.save(vehicleMainifist);
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
int count = 0;
|
|
|
if (vmList.size() >= list.length) {
|
|
|
for (int i = 0; i < vmList.size(); i++) {
|
|
|
System.out.println(vmList.get(i).getMainifist());
|
|
|
System.out.println(mainfistList.indexOf(vmList.get(i).getMainifist()) != -1);
|
|
|
for (int j = 0; j < list.length; j++) {
|
|
|
if (!(mainfistList.indexOf(vmList.get(i).getMainifist()) != -1)) {
|
|
|
veMainService.deleteEntry(vmList.get(i));
|
|
|
} else {
|
|
|
VehicleMainifist vm = veMainService.selectByVm(id, list[j]);
|
|
|
if (vm == null) {
|
|
|
VehicleMainifist vehicleMainifist = new VehicleMainifist();
|
|
|
vehicleMainifist.setBusinessId(id);
|
|
|
vehicleMainifist.setBusinessNum(frameNo);
|
|
|
vehicleMainifist.setMainifist(list[j]);
|
|
|
veMainService.save(vehicleMainifist);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
VehicleMainifist vm = veMainService.selectByVm(id, list[i]);
|
|
|
if (vm == null) {
|
|
|
VehicleMainifist vehicleMainifist = new VehicleMainifist();
|
|
|
vehicleMainifist.setBusinessId(id);
|
|
|
vehicleMainifist.setBusinessNum(frameNo);
|
|
|
vehicleMainifist.setMainifist(list[i]);
|
|
|
veMainService.save(vehicleMainifist);
|
|
|
}
|
|
|
} else {
|
|
|
for (int i = 0; i < list.length; i++) {
|
|
|
for (int j = 0; j < vmList.size(); j++) {
|
|
|
if (!(mainfistList.indexOf(vmList.get(j).getMainifist()) != -1)) {
|
|
|
veMainService.deleteEntry(vmList.get(j));
|
|
|
} else {
|
|
|
VehicleMainifist vm = veMainService.selectByVm(id, list[i]);
|
|
|
if (vm == null) {
|
|
|
VehicleMainifist vehicleMainifist = new VehicleMainifist();
|
|
|
vehicleMainifist.setBusinessId(id);
|
|
|
vehicleMainifist.setBusinessNum(frameNo);
|
|
|
vehicleMainifist.setMainifist(list[i]);
|
|
|
veMainService.save(vehicleMainifist);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|