沧州矿石初始化
parent
b456b33bc9
commit
53530e0513
|
@ -167,7 +167,7 @@ public class AppSafetyEnvironmentalController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value="/edit")
|
@RequestMapping(value="/edit")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@DockAnnotation
|
@DockAnnotation(hasAnnex = true)
|
||||||
public Object edit(@RequestParam(value="FFILE",required=false) MultipartFile file) throws Exception{
|
public Object edit(@RequestParam(value="FFILE",required=false) MultipartFile file) throws Exception{
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -178,6 +178,7 @@ public class AppSafetyEnvironmentalController extends BaseController {
|
||||||
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
||||||
pd.put("ACTION_USER", pd.getString("ACTION_USER")); //操作人
|
pd.put("ACTION_USER", pd.getString("ACTION_USER")); //操作人
|
||||||
String ffile = DateUtil.getDays();
|
String ffile = DateUtil.getDays();
|
||||||
|
ArrayList<String> strings = new ArrayList<>();
|
||||||
if (file != null && StringUtils.isNotBlank(pd.getString("INSPECTION_USER_OPINION"))){
|
if (file != null && StringUtils.isNotBlank(pd.getString("INSPECTION_USER_OPINION"))){
|
||||||
String suffixName = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1).toLowerCase();
|
String suffixName = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1).toLowerCase();
|
||||||
if (!"pdf".equals(suffixName) && !"jpg".equals(suffixName) && !"jpeg".equals(suffixName) && !"png".equals(suffixName) && !"mp4".equals(suffixName)) {
|
if (!"pdf".equals(suffixName) && !"jpg".equals(suffixName) && !"jpeg".equals(suffixName) && !"png".equals(suffixName) && !"mp4".equals(suffixName)) {
|
||||||
|
@ -191,9 +192,11 @@ public class AppSafetyEnvironmentalController extends BaseController {
|
||||||
pd.put("CONFIRM_MESSAGE_SIGN_ROUTE", Const.FILEPATHFILE + pd.getString("CORPINFO_ID") + "/" + ffile + "/" + fileName);
|
pd.put("CONFIRM_MESSAGE_SIGN_ROUTE", Const.FILEPATHFILE + pd.getString("CORPINFO_ID") + "/" + ffile + "/" + fileName);
|
||||||
pd.put("CONFIRM_MESSAGE",pd.getString("INSPECTION_USER_OPINION"));
|
pd.put("CONFIRM_MESSAGE",pd.getString("INSPECTION_USER_OPINION"));
|
||||||
pd.put("CONFIRM_MESSAGE_TIME",DateUtil.date2Str(new Date()));
|
pd.put("CONFIRM_MESSAGE_TIME",DateUtil.date2Str(new Date()));
|
||||||
|
strings.add(pd.getString("CONFIRM_MESSAGE_SIGN_ROUTE")+"@@"+fileName);
|
||||||
}
|
}
|
||||||
List<PageData> hiddenList = safetyenvironmentalService.edit(pd);
|
List<PageData> hiddenList = safetyenvironmentalService.edit(pd);
|
||||||
pd.put("hiddenList", hiddenList);
|
pd.put("hiddenList", hiddenList);
|
||||||
|
map.put("sendPicturesList", JSON.toJSONString(strings));
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
map.put("dockData", JSON.toJSONString(pd));
|
map.put("dockData", JSON.toJSONString(pd));
|
||||||
|
|
|
@ -88,20 +88,21 @@ public class CorpPromiseController extends BaseController {
|
||||||
if (people.size() > 0) { //承诺人数据
|
if (people.size() > 0) { //承诺人数据
|
||||||
int num = 0;
|
int num = 0;
|
||||||
for (int i = 0; i < people.size(); i++) {
|
for (int i = 0; i < people.size(); i++) {
|
||||||
PageData promise = new PageData();
|
|
||||||
promise.put("PROMISE_ID", pd.getString("PROMISE_ID")); //外键ID
|
|
||||||
promise.put("DEPARTMENT_ID", people.get(i).get("DEPARTMENT_ID"));
|
|
||||||
promise.put("POST_ID", people.get(i).get("POST_ID"));
|
|
||||||
List<JSONObject> user = (List<JSONObject>) people.get(i).get("USER_ID"); //同部门、同岗位下有可能选择多个人
|
List<JSONObject> user = (List<JSONObject>) people.get(i).get("USER_ID"); //同部门、同岗位下有可能选择多个人
|
||||||
promise.put("ISSIGN", 0);
|
|
||||||
if (user.size() > 0) {
|
if (user.size() > 0) {
|
||||||
for (int j = 0; j < user.size(); j++) {
|
for (int j = 0; j < user.size(); j++) {
|
||||||
promise.put("USER_ID", user.get(j));
|
PageData peo = new PageData();
|
||||||
promise.put("PROMISEPEOPLE_ID", this.get32UUID()); //主键
|
peo.put("ISSIGN", 0);
|
||||||
promise.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
peo.put("PROMISE_ID", pd.getString("PROMISE_ID")); //外键ID
|
||||||
promise.put("ISPROMISE_PEOPLE", "0");
|
peo.put("DEPARTMENT_ID",people.get(i).get("DEPARTMENT_ID"));
|
||||||
corpPromisePeopleService.save(promise);
|
peo.put("POST_ID",people.get(i).get("POST_ID"));
|
||||||
corpPromisePeoples.add(promise);
|
peo.put("USER_ID",user.get(j));
|
||||||
|
peo.put("ISSIGN",0);
|
||||||
|
peo.put("PROMISEPEOPLE_ID", this.get32UUID()); //主键
|
||||||
|
peo.put("CORPINFO_ID",people.get(i).get("CORPINFO_ID"));
|
||||||
|
peo.put("ISPROMISE_PEOPLE","1");
|
||||||
|
corpPromisePeopleService.save(peo);
|
||||||
|
corpPromisePeoples.add(peo);
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
dockData.put("corpPromisePeopleSave",JSON.toJSONString(corpPromisePeoples));
|
dockData.put("corpPromisePeopleSave",JSON.toJSONString(corpPromisePeoples));
|
||||||
|
@ -114,20 +115,21 @@ public class CorpPromiseController extends BaseController {
|
||||||
List<JSONObject> coverpeople = (List<JSONObject>) JSON.parse(pd.getString("coverpeople"));
|
List<JSONObject> coverpeople = (List<JSONObject>) JSON.parse(pd.getString("coverpeople"));
|
||||||
if (coverpeople.size() > 0) { //被承诺人数据
|
if (coverpeople.size() > 0) { //被承诺人数据
|
||||||
for (int i = 0; i < coverpeople.size(); i++) {
|
for (int i = 0; i < coverpeople.size(); i++) {
|
||||||
PageData promise = new PageData();
|
|
||||||
promise.put("PROMISE_ID", pd.getString("PROMISE_ID")); //外键ID
|
|
||||||
promise.put("DEPARTMENT_ID", coverpeople.get(i).get("DEPARTMENT_ID"));
|
|
||||||
promise.put("POST_ID", coverpeople.get(i).get("POST_ID"));
|
|
||||||
List<JSONObject> user = (List<JSONObject>) coverpeople.get(i).get("USER_ID"); //同部门、同岗位下有可能选择多个人
|
List<JSONObject> user = (List<JSONObject>) coverpeople.get(i).get("USER_ID"); //同部门、同岗位下有可能选择多个人
|
||||||
promise.put("ISSIGN", 0);
|
|
||||||
if (user.size() > 0) {
|
if (user.size() > 0) {
|
||||||
for (int j = 0; j < user.size(); j++) {
|
for (int j = 0; j < user.size(); j++) {
|
||||||
promise.put("USER_ID", user.get(j));
|
PageData peo = new PageData();
|
||||||
promise.put("PROMISEPEOPLE_ID", this.get32UUID()); //主键
|
peo.put("ISSIGN", 0);
|
||||||
promise.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
peo.put("PROMISE_ID", pd.getString("PROMISE_ID")); //外键ID
|
||||||
promise.put("ISPROMISE_PEOPLE", "1");
|
peo.put("DEPARTMENT_ID",people.get(i).get("DEPARTMENT_ID"));
|
||||||
corpPromisePeopleService.save(promise);
|
peo.put("POST_ID",people.get(i).get("POST_ID"));
|
||||||
coverPeoples.add(promise);
|
peo.put("USER_ID",user.get(j));
|
||||||
|
peo.put("ISSIGN",0);
|
||||||
|
peo.put("PROMISEPEOPLE_ID", this.get32UUID()); //主键
|
||||||
|
peo.put("CORPINFO_ID",people.get(i).get("CORPINFO_ID"));
|
||||||
|
peo.put("ISPROMISE_PEOPLE","1");
|
||||||
|
corpPromisePeopleService.save(peo);
|
||||||
|
coverPeoples.add(peo);
|
||||||
}
|
}
|
||||||
dockData.put("coverPeopleList",JSON.toJSONString(coverPeoples));
|
dockData.put("coverPeopleList",JSON.toJSONString(coverPeoples));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
package com.zcloud.controller.corpsystem;
|
package com.zcloud.controller.corpsystem;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.zcloud.aspect.DockAnnotation;
|
|
||||||
import com.zcloud.controller.base.BaseController;
|
import com.zcloud.controller.base.BaseController;
|
||||||
import com.zcloud.entity.Page;
|
import com.zcloud.entity.Page;
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
|
@ -81,7 +80,6 @@ public class CorpRoleController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value="/add")
|
@RequestMapping(value="/add")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@DockAnnotation(isAdd = true)
|
|
||||||
public Object add()throws Exception{
|
public Object add()throws Exception{
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -135,7 +133,6 @@ public class CorpRoleController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value="/edit")
|
@RequestMapping(value="/edit")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@DockAnnotation
|
|
||||||
public Object edit()throws Exception{
|
public Object edit()throws Exception{
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -155,7 +152,6 @@ public class CorpRoleController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value="/delete")
|
@RequestMapping(value="/delete")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@DockAnnotation(isAdd = true)
|
|
||||||
public Object deleteRole(@RequestParam String ROLE_ID)throws Exception{
|
public Object deleteRole(@RequestParam String ROLE_ID)throws Exception{
|
||||||
Map<String,String> map = new HashMap<String,String>();
|
Map<String,String> map = new HashMap<String,String>();
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
|
@ -224,7 +220,6 @@ public class CorpRoleController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value="/saveMenuqx")
|
@RequestMapping(value="/saveMenuqx")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@DockAnnotation(isAdd = true)
|
|
||||||
public Object saveMenuqx(@RequestParam String ROLE_ID,@RequestParam String menuIds)throws Exception{
|
public Object saveMenuqx(@RequestParam String ROLE_ID,@RequestParam String menuIds)throws Exception{
|
||||||
Map<String,String> map = new HashMap<String,String>();
|
Map<String,String> map = new HashMap<String,String>();
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
|
@ -291,7 +286,6 @@ public class CorpRoleController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value="/saveB4Button")
|
@RequestMapping(value="/saveB4Button")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@DockAnnotation(isAdd = true)
|
|
||||||
public Object saveB4Button(@RequestParam String ROLE_ID,@RequestParam String menuIds,@RequestParam String msg)throws Exception{
|
public Object saveB4Button(@RequestParam String ROLE_ID,@RequestParam String menuIds,@RequestParam String msg)throws Exception{
|
||||||
Map<String,String> map = new HashMap<String,String>();
|
Map<String,String> map = new HashMap<String,String>();
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
|
|
|
@ -8,8 +8,6 @@ import com.zcloud.service.czksbimap.CzksBiMapService;
|
||||||
import com.zcloud.service.bus.CorpInfoService;
|
import com.zcloud.service.bus.CorpInfoService;
|
||||||
import com.zcloud.service.fireresources.CzksFireResourcesService;
|
import com.zcloud.service.fireresources.CzksFireResourcesService;
|
||||||
import com.zcloud.service.gatemachine.GateMachineService;
|
import com.zcloud.service.gatemachine.GateMachineService;
|
||||||
//import com.zcloud.service.keyProjects.MeteorologicalService;
|
|
||||||
//import com.zcloud.service.keyProjects.MeteorologicalinfoService;
|
|
||||||
import com.zcloud.service.keyProjects.PlatformvideomanagementService;
|
import com.zcloud.service.keyProjects.PlatformvideomanagementService;
|
||||||
import com.zcloud.service.keyProjects.VideoManagerService;
|
import com.zcloud.service.keyProjects.VideoManagerService;
|
||||||
import com.zcloud.service.system.DepartmentService;
|
import com.zcloud.service.system.DepartmentService;
|
||||||
|
@ -242,11 +240,12 @@ public class CzksMapController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/getGatesInAndOutNumById")
|
@RequestMapping("/getGatesInAndOutNumById")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public ReturnMap getGatesInAndOutNumById() {
|
public ReturnMap getGatesInAndOutNumById(Page page) {
|
||||||
ReturnMap returnMap = new ReturnMap();
|
ReturnMap returnMap = new ReturnMap();
|
||||||
PageData pageData = this.getPageData();
|
page.setCurrentPage(1);
|
||||||
Map<String, Object> data = biMapService.getGatesInAndOutNumById(pageData);
|
page.setShowCount(999);
|
||||||
returnMap.put("pd", data);
|
page.setPd(this.getPageData());
|
||||||
|
returnMap.put("data", biMapService.getGatesInAndOutNumById(page).get("data"));
|
||||||
return returnMap;
|
return returnMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package com.zcloud.controller.gatemachine;
|
package com.zcloud.controller.gatemachine;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSON;
|
||||||
|
import com.zcloud.aspect.DockAnnotation;
|
||||||
import com.zcloud.controller.base.BaseController;
|
import com.zcloud.controller.base.BaseController;
|
||||||
import com.zcloud.entity.Page;
|
import com.zcloud.entity.Page;
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
|
@ -9,7 +11,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 说明:TODO
|
* 说明:TODO
|
||||||
|
@ -36,22 +40,33 @@ public class GateAreaController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/edit")
|
@RequestMapping(value = "/edit")
|
||||||
public ReturnMap edit() {
|
@DockAnnotation
|
||||||
PageData pd = this.getPageData();
|
public Object edit() {
|
||||||
gateAreaService.edit(pd);
|
PageData pageData = this.getPageData();
|
||||||
return ReturnMap.ok();
|
gateAreaService.edit(pageData);
|
||||||
|
Map map = new HashMap();
|
||||||
|
map.put("dockData", JSON.toJSONString(pageData));
|
||||||
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/removeByIds")
|
@RequestMapping(value = "/removeByIds")
|
||||||
public ReturnMap removeByIds() {
|
@DockAnnotation
|
||||||
|
public Object removeByIds() {
|
||||||
PageData pageData = this.getPageData();
|
PageData pageData = this.getPageData();
|
||||||
gateAreaService.removeByIds(pageData);
|
gateAreaService.removeByIds(pageData);
|
||||||
return ReturnMap.ok();
|
Map map = new HashMap();
|
||||||
|
map.put("dockData", JSON.toJSONString(pageData));
|
||||||
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/add")
|
@RequestMapping(value = "/add")
|
||||||
public ReturnMap add() {
|
@DockAnnotation
|
||||||
|
public Object add() {
|
||||||
PageData pageData = this.getPageData();
|
PageData pageData = this.getPageData();
|
||||||
gateAreaService.save(pageData);
|
gateAreaService.save(pageData);
|
||||||
return ReturnMap.ok();
|
Map map = new HashMap();
|
||||||
|
map.put("dockData", JSON.toJSONString(pageData));
|
||||||
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,4 +101,13 @@ public class GateCarIOController extends BaseController {
|
||||||
return ReturnMap.ok().put("data", gateCarIOService.getAllEQCount(this.getPageData()));
|
return ReturnMap.ok().put("data", gateCarIOService.getAllEQCount(this.getPageData()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取在场,离场,总量计数
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequestMapping(value = "/getTodayEQCountAllForOne")
|
||||||
|
public ReturnMap getTodayEQCountAllForOne() {
|
||||||
|
return ReturnMap.ok().put("data", gateCarIOService.getAllEQCountForOne(this.getPageData()));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -366,7 +366,7 @@ public class SafetyEnvironmentalController extends BaseController {
|
||||||
@RequestMapping(value = "/edit")
|
@RequestMapping(value = "/edit")
|
||||||
@RequiresPermissions("safetyenvironmental:edit")
|
@RequiresPermissions("safetyenvironmental:edit")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@DockAnnotation
|
@DockAnnotation(hasAnnex = true)
|
||||||
public Object edit() throws Exception {
|
public Object edit() throws Exception {
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -377,6 +377,7 @@ public class SafetyEnvironmentalController extends BaseController {
|
||||||
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
||||||
pd.put("CORPINFO_ID", "1".equals(Jurisdiction.getUSER_ID()) ? "" : Jurisdiction.getCORPINFO_ID()); //企业ID
|
pd.put("CORPINFO_ID", "1".equals(Jurisdiction.getUSER_ID()) ? "" : Jurisdiction.getCORPINFO_ID()); //企业ID
|
||||||
pd.put("ACTION_USER", Jurisdiction.getName()); //操作人
|
pd.put("ACTION_USER", Jurisdiction.getName()); //操作人
|
||||||
|
ArrayList<String> strings = new ArrayList<>();
|
||||||
if (StringUtils.isNotBlank(pd.getString("CONFIRM_MESSAGE_SIGN"))) {
|
if (StringUtils.isNotBlank(pd.getString("CONFIRM_MESSAGE_SIGN"))) {
|
||||||
MultipartFile file = BASE64DecodedMultipartFile.base64ToMultipart(pd.getString("CONFIRM_MESSAGE_SIGN"));
|
MultipartFile file = BASE64DecodedMultipartFile.base64ToMultipart(pd.getString("CONFIRM_MESSAGE_SIGN"));
|
||||||
String suffixName = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".") + 1).toLowerCase();
|
String suffixName = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".") + 1).toLowerCase();
|
||||||
|
@ -390,9 +391,11 @@ public class SafetyEnvironmentalController extends BaseController {
|
||||||
String fileName = this.get32UUID() + file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf("."));
|
String fileName = this.get32UUID() + file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf("."));
|
||||||
Smb.sshSftp(file, fileName, Const.FILEPATHFILE + pd.getString("CORPINFO_ID") + "/" + ffile);
|
Smb.sshSftp(file, fileName, Const.FILEPATHFILE + pd.getString("CORPINFO_ID") + "/" + ffile);
|
||||||
pd.put("CONFIRM_MESSAGE_SIGN_ROUTE", Const.FILEPATHFILE + pd.getString("CORPINFO_ID") + "/" + ffile + "/" + fileName);
|
pd.put("CONFIRM_MESSAGE_SIGN_ROUTE", Const.FILEPATHFILE + pd.getString("CORPINFO_ID") + "/" + ffile + "/" + fileName);
|
||||||
|
strings.add(pd.getString("CONFIRM_MESSAGE_SIGN_ROUTE")+"@@"+fileName);
|
||||||
}
|
}
|
||||||
List<PageData> hiddenList = safetyenvironmentalService.edit(pd);
|
List<PageData> hiddenList = safetyenvironmentalService.edit(pd);
|
||||||
pd.put("hiddenList", hiddenList);
|
pd.put("hiddenList", hiddenList);
|
||||||
|
map.put("sendPicturesList", JSON.toJSONString(strings));
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
map.put("dockData", JSON.toJSONString(pd));
|
map.put("dockData", JSON.toJSONString(pd));
|
||||||
|
|
|
@ -7,6 +7,7 @@ import com.zcloud.entity.Page;
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
import com.zcloud.service.keyProjects.PlatformvideomanagementService;
|
import com.zcloud.service.keyProjects.PlatformvideomanagementService;
|
||||||
import com.zcloud.util.Jurisdiction;
|
import com.zcloud.util.Jurisdiction;
|
||||||
|
import com.zcloud.util.ReturnMap;
|
||||||
import com.zcloud.util.Tools;
|
import com.zcloud.util.Tools;
|
||||||
import com.zcloud.util.hk.HKUtil;
|
import com.zcloud.util.hk.HKUtil;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
@ -127,10 +128,10 @@ public class PlatformvideomanagementController extends BaseController {
|
||||||
PageData pd =this.getPageData();
|
PageData pd =this.getPageData();
|
||||||
map = HKUtil.cameraSearch(pd);
|
map = HKUtil.cameraSearch(pd);
|
||||||
if(ObjectUtils.isEmpty(map)){
|
if(ObjectUtils.isEmpty(map)){
|
||||||
map = new HashMap<String,Object>();
|
return ReturnMap.error("海康平台摄像头调用失败");
|
||||||
}
|
}
|
||||||
HashMap<Object, Object> data = new HashMap<>();
|
//HashMap<Object, Object> data = new HashMap<>();
|
||||||
map.put("data", data);
|
//map.put("data", data);
|
||||||
map.put("result", "success");
|
map.put("result", "success");
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ import java.util.Map;
|
||||||
* 官网:www.zcloudchina.com
|
* 官网:www.zcloudchina.com
|
||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("/map/Eight")
|
@RequestMapping("/czksmap/Eight")
|
||||||
public class MapEightController extends BaseController {
|
public class MapEightController extends BaseController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|
|
@ -17,7 +17,7 @@ public interface FireCheckStandardMapper {
|
||||||
|
|
||||||
void updById(PageData pd);
|
void updById(PageData pd);
|
||||||
|
|
||||||
void delByIds(PageData pd);
|
void delByIds(String[] ArrayDATA_IDS);
|
||||||
|
|
||||||
void saveInfo(PageData pd);
|
void saveInfo(PageData pd);
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ public interface CzksBiMapService {
|
||||||
|
|
||||||
// PageData getGatesInAndOutNumById(PageData pageData);
|
// PageData getGatesInAndOutNumById(PageData pageData);
|
||||||
|
|
||||||
Map<String, Object> getGatesInAndOutNumById(PageData pageData);
|
Map<String, Object> getGatesInAndOutNumById(Page page);
|
||||||
|
|
||||||
Map<String, Object> getPerpleCarGateMachineCount(PageData pageData);
|
Map<String, Object> getPerpleCarGateMachineCount(PageData pageData);
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,12 @@ import com.zcloud.entity.Page;
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
import com.zcloud.mapper.datasource.bus.CorpInfoMapper;
|
import com.zcloud.mapper.datasource.bus.CorpInfoMapper;
|
||||||
import com.zcloud.mapper.datasource.czksbimap.CzksBiMapMapper;
|
import com.zcloud.mapper.datasource.czksbimap.CzksBiMapMapper;
|
||||||
|
import com.zcloud.mapper.datasource.gatemachine.CzksGateAreaMapper;
|
||||||
|
import com.zcloud.mapper.datasource.gatemachine.CzksGateCarIOMapper;
|
||||||
import com.zcloud.mapper.dsno2.fireresources.CzksFireResourcesMapper;
|
import com.zcloud.mapper.dsno2.fireresources.CzksFireResourcesMapper;
|
||||||
import com.zcloud.mapper.datasource.keyProjects.PlatformvideomanagementMapper;
|
import com.zcloud.mapper.datasource.keyProjects.PlatformvideomanagementMapper;
|
||||||
import com.zcloud.service.czksbimap.CzksBiMapService;
|
import com.zcloud.service.czksbimap.CzksBiMapService;
|
||||||
|
import com.zcloud.service.gatemachine.GateCarIOService;
|
||||||
import com.zcloud.util.czksBiMapFactory.AbsCzksFireSourcesHandel;
|
import com.zcloud.util.czksBiMapFactory.AbsCzksFireSourcesHandel;
|
||||||
import com.zcloud.util.czksBiMapFactory.CzksAssemblyBeanFactory;
|
import com.zcloud.util.czksBiMapFactory.CzksAssemblyBeanFactory;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
@ -28,9 +31,16 @@ import java.util.*;
|
||||||
@Service
|
@Service
|
||||||
public class CzksBiMapServiceImpl implements CzksBiMapService {
|
public class CzksBiMapServiceImpl implements CzksBiMapService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private CzksGateCarIOMapper czksGateCarIOMapper;
|
||||||
@Resource
|
@Resource
|
||||||
private CzksBiMapMapper czksBiMapper;
|
private CzksBiMapMapper czksBiMapper;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
GateCarIOService gateCarIOService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
CzksGateAreaMapper czksGateAreaMapper;
|
||||||
@Resource
|
@Resource
|
||||||
private CzksFireResourcesMapper czksfireResourcesMapper;
|
private CzksFireResourcesMapper czksfireResourcesMapper;
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -182,24 +192,35 @@ public class CzksBiMapServiceImpl implements CzksBiMapService {
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Object> getGatesInAndOutNumById(PageData pd) {
|
public Map<String, Object> getGatesInAndOutNumById(Page page) {
|
||||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
||||||
String fendDate = simpleDateFormat.format(new Date());
|
|
||||||
Calendar now = Calendar.getInstance();
|
|
||||||
now.add(Calendar.MINUTE, -1);
|
|
||||||
Date before = now.getTime();
|
|
||||||
String fstartDate = simpleDateFormat.format(before);
|
|
||||||
Map<String,Object> result = new HashMap<>();
|
Map<String,Object> result = new HashMap<>();
|
||||||
if (pd.getString("TYPE").equals("PERSON")){
|
PageData pd = page.getPd();
|
||||||
result = restTemplate.getForObject(url2+"/region/access/bayonetPersonnelEntryAndExitRecords?fstartDate="+fstartDate+"&fendDate="+fendDate+"&workNumber=&accId="+pd.getString("id"),Map.class);
|
List<PageData> datalistPage = czksGateAreaMapper.getDatalistPage(page);
|
||||||
}else {
|
String gateAreaName = (String) datalistPage.get(0).get("GATE_AREA_NAME");
|
||||||
result = restTemplate.getForObject(url2+"/region/access/bayonetVehicleEntryAndExitRecords?fstartDate="+fstartDate+"&fendDate="+fendDate+"&carsign=&accId="+pd.getString("id"),Map.class);
|
if (gateAreaName != null && "矿石作业区域".equals(gateAreaName)) {
|
||||||
|
pd.put("GATE_AREA_TYPE", "1");
|
||||||
|
} else if (gateAreaName != null && "杂货作业区域".equals(gateAreaName)) {
|
||||||
|
pd.put("GATE_AREA_TYPE", "2");
|
||||||
}
|
}
|
||||||
Object msg = result.get("msg");
|
Calendar calendar = Calendar.getInstance();
|
||||||
if (msg!=null && msg.equals("success")) {
|
calendar.setTime(new Date());
|
||||||
result.remove("msg");
|
calendar.set(Calendar.HOUR_OF_DAY, 0);
|
||||||
result.put("result","success");
|
calendar.set(Calendar.MINUTE, 0);
|
||||||
|
calendar.set(Calendar.SECOND, 0);
|
||||||
|
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(calendar.getTime());
|
||||||
|
pd.put("startTime", new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(calendar.getTime()));
|
||||||
|
calendar.set(Calendar.HOUR_OF_DAY, 23);
|
||||||
|
calendar.set(Calendar.MINUTE, 59);
|
||||||
|
calendar.set(Calendar.SECOND, 59);
|
||||||
|
pd.put("endTime", new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(calendar.getTime()));
|
||||||
|
page.setPd(pd);
|
||||||
|
List<PageData> ioRecord = new ArrayList<>();
|
||||||
|
if (page.getPd().get("GATE_AREA_TYPE") != null && "1".equals(page.getPd().get("GATE_AREA_TYPE"))) {
|
||||||
|
ioRecord = czksGateCarIOMapper.getMineralDatalistPage(page);
|
||||||
|
} else if (page.getPd().get("GATE_AREA_TYPE") != null && "2".equals(page.getPd().get("GATE_AREA_TYPE"))) {
|
||||||
|
ioRecord = czksGateCarIOMapper.getGroceryDatalistPage(page);
|
||||||
}
|
}
|
||||||
|
result.put("data", ioRecord);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,8 +64,21 @@ public class FireCheckStandardServiceImpl implements FireCheckStandardService {
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public boolean delCheckStandardByIds(PageData pd) {
|
public boolean delCheckStandardByIds(PageData pd) {
|
||||||
PageData data = fireCheckStandardMapper.tryDel(pd);
|
PageData data = fireCheckStandardMapper.tryDel(pd);
|
||||||
|
String data_ids = pd.getString("DATA_IDS");
|
||||||
|
String[] ArrayDATA_IDS = data_ids.split(",");
|
||||||
|
/*String newIds = "";
|
||||||
|
for (int i = 0 ; i < split.length ; i++) {
|
||||||
|
if (i == 0) {
|
||||||
|
newIds = split[i]+"',";
|
||||||
|
}else if (i == split.length-1) {
|
||||||
|
newIds = newIds + "'"+split[i];
|
||||||
|
}else {
|
||||||
|
newIds = newIds + "'"+split[i]+"',";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
pd.put("DATA_IDS",newIds);*/
|
||||||
if ("0".equals(String.valueOf(data.get("sum")))) {
|
if ("0".equals(String.valueOf(data.get("sum")))) {
|
||||||
fireCheckStandardMapper.delByIds(pd);
|
fireCheckStandardMapper.delByIds(ArrayDATA_IDS);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -19,5 +19,6 @@ public interface GateCarIOService {
|
||||||
|
|
||||||
PageData getTodayEQCount(PageData pageData);
|
PageData getTodayEQCount(PageData pageData);
|
||||||
PageData getAllEQCount(PageData pageData);
|
PageData getAllEQCount(PageData pageData);
|
||||||
|
PageData getAllEQCountForOne(PageData pageData);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,12 @@ package com.zcloud.service.gatemachine.impl;
|
||||||
|
|
||||||
import com.zcloud.entity.Page;
|
import com.zcloud.entity.Page;
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
|
import com.zcloud.mapper.datasource.gatemachine.CzksGateAreaMapper;
|
||||||
import com.zcloud.mapper.datasource.gatemachine.CzksGateCarIOMapper;
|
import com.zcloud.mapper.datasource.gatemachine.CzksGateCarIOMapper;
|
||||||
import com.zcloud.service.gatemachine.GateCarIOService;
|
import com.zcloud.service.gatemachine.GateCarIOService;
|
||||||
import com.zcloud.util.InitPageDataUtil;
|
import com.zcloud.util.InitPageDataUtil;
|
||||||
import com.zcloud.util.UuidUtil;
|
import com.zcloud.util.UuidUtil;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
@ -21,7 +23,11 @@ public class GateCarIOServiceImpl implements GateCarIOService {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private CzksGateCarIOMapper czksGateCarIOMapper;
|
private CzksGateCarIOMapper czksGateCarIOMapper;
|
||||||
|
@Autowired
|
||||||
|
GateCarIOService gateCarIOService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
CzksGateAreaMapper czksGateAreaMapper;
|
||||||
@Resource
|
@Resource
|
||||||
private InitPageDataUtil initPageDataUtil;
|
private InitPageDataUtil initPageDataUtil;
|
||||||
|
|
||||||
|
@ -128,4 +134,18 @@ public class GateCarIOServiceImpl implements GateCarIOService {
|
||||||
pageData.put("mineral", czksGateCarIOMapper.countMineralEnterAndQuitAll(pd));
|
pageData.put("mineral", czksGateCarIOMapper.countMineralEnterAndQuitAll(pd));
|
||||||
return pageData;
|
return pageData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PageData getAllEQCountForOne(PageData pd) {
|
||||||
|
Page page = new Page();
|
||||||
|
page.setPd(pd);
|
||||||
|
List<PageData> datalistPage = czksGateAreaMapper.getDatalistPage(page);
|
||||||
|
String gateAreaName = (String) datalistPage.get(0).get("GATE_AREA_NAME");
|
||||||
|
if (gateAreaName != null && "矿石作业区域".equals(gateAreaName)) {
|
||||||
|
pd = czksGateCarIOMapper.countMineralEnterAndQuitAll(pd);
|
||||||
|
} else if (gateAreaName != null && "杂货作业区域".equals(gateAreaName)) {
|
||||||
|
pd = czksGateCarIOMapper.countGroceryEnterAndQuitAll(pd);
|
||||||
|
}
|
||||||
|
return pd;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,7 +71,7 @@ public class MapKeyProjectServiceImpl implements MapKetProjectService {
|
||||||
if(StringUtils.equals(typeStr,"PROJECT")){
|
if(StringUtils.equals(typeStr,"PROJECT")){
|
||||||
r = keyProjectMapper.getProjectLocation(pd);
|
r = keyProjectMapper.getProjectLocation(pd);
|
||||||
//视频
|
//视频
|
||||||
}else if(StringUtils.equals(typeStr,"camera")){
|
}else if(StringUtils.equals(typeStr,"VIDEO")){
|
||||||
r = keyProjectMapper.getVideoLocation(pd);
|
r = keyProjectMapper.getVideoLocation(pd);
|
||||||
}
|
}
|
||||||
returnMap.put("varList", r);
|
returnMap.put("varList", r);
|
||||||
|
|
|
@ -19,7 +19,6 @@ import org.apache.poi.ss.usermodel.VerticalAlignment;
|
||||||
import org.apache.poi.ss.usermodel.Workbook;
|
import org.apache.poi.ss.usermodel.Workbook;
|
||||||
import org.apache.shiro.session.Session;
|
import org.apache.shiro.session.Session;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
import org.springframework.web.servlet.view.document.AbstractXlsView;
|
import org.springframework.web.servlet.view.document.AbstractXlsView;
|
||||||
|
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
|
@ -31,10 +30,11 @@ import net.coobird.thumbnailator.Thumbnails;
|
||||||
* 作者:luoxiaobao
|
* 作者:luoxiaobao
|
||||||
* 官网:www.qdkjchina.com
|
* 官网:www.qdkjchina.com
|
||||||
*/
|
*/
|
||||||
@Component
|
|
||||||
public class HiddenExcelImgToSessionView extends AbstractXlsView{
|
public class HiddenExcelImgToSessionView extends AbstractXlsView{
|
||||||
|
|
||||||
private String fileUrl = "http://192.168.192.201:8991/file/";
|
@Value("${http.file.url}")
|
||||||
|
private String fileUrl;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void buildExcelDocument(Map<String, Object> model,
|
protected void buildExcelDocument(Map<String, Object> model,
|
||||||
Workbook workbook, HttpServletRequest request,
|
Workbook workbook, HttpServletRequest request,
|
||||||
|
|
|
@ -38,8 +38,8 @@ import com.zcloud.entity.PageData;
|
||||||
*/
|
*/
|
||||||
public class HiddenExcelImgView extends AbstractXlsView{
|
public class HiddenExcelImgView extends AbstractXlsView{
|
||||||
|
|
||||||
|
@Value("${http.file.url}")
|
||||||
private String fileUrl = "http://192.168.192.201:8991/file/";
|
private String fileUrl;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void buildExcelDocument(Map<String, Object> model,
|
protected void buildExcelDocument(Map<String, Object> model,
|
||||||
|
|
|
@ -38,6 +38,7 @@ public class HKUtil {
|
||||||
path.put("https://", getCamsApi);
|
path.put("https://", getCamsApi);
|
||||||
// post请求application/json类型参数
|
// post请求application/json类型参数
|
||||||
String result =ArtemisHttpUtil.doPostStringArtemis(path,jsonBody.toJSONString(),null,null,"application/json",null);
|
String result =ArtemisHttpUtil.doPostStringArtemis(path,jsonBody.toJSONString(),null,null,"application/json",null);
|
||||||
|
|
||||||
JSONObject parseObject = JSONArray.parseObject(result);
|
JSONObject parseObject = JSONArray.parseObject(result);
|
||||||
return parseObject;
|
return parseObject;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,11 +24,14 @@
|
||||||
WHERE FIRE_CHECK_STANDARD_ID = #{FIRE_CHECK_STANDARD_ID}
|
WHERE FIRE_CHECK_STANDARD_ID = #{FIRE_CHECK_STANDARD_ID}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="delByIds" parameterType="pd">
|
<delete id="delByIds" parameterType="String">
|
||||||
UPDATE bus_fire_check_standard
|
UPDATE bus_fire_check_standard
|
||||||
SET ISDELETE = 1
|
SET ISDELETE = 1
|
||||||
WHERE FIRE_CHECK_STANDARD_ID in (#{DATA_IDS})
|
WHERE FIRE_CHECK_STANDARD_ID in
|
||||||
</update>
|
<foreach item="item" index="index" collection="array" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
<insert id="saveInfo" parameterType="pd">
|
<insert id="saveInfo" parameterType="pd">
|
||||||
insert into bus_fire_check_standard
|
insert into bus_fire_check_standard
|
||||||
|
|
|
@ -165,7 +165,8 @@
|
||||||
<select id="countGroceryEnterAndQuitAll" resultType="pd" parameterType="pd">
|
<select id="countGroceryEnterAndQuitAll" resultType="pd" parameterType="pd">
|
||||||
select
|
select
|
||||||
count(case when g.PASS_TYPE = '0' then 0 end) as `entered`,
|
count(case when g.PASS_TYPE = '0' then 0 end) as `entered`,
|
||||||
count(case when g.PASS_TYPE = '1' then 1 end) as `quited`
|
count(case when g.PASS_TYPE = '1' then 1 end) as `quited`,
|
||||||
|
count(case when g.PASS_TYPE = '0' then 0 end) - count(case when g.PASS_TYPE = '1' then 1 end) as present
|
||||||
from
|
from
|
||||||
`qa-czks-prevention`.`work_grocery_io_record` g
|
`qa-czks-prevention`.`work_grocery_io_record` g
|
||||||
where
|
where
|
||||||
|
@ -174,7 +175,8 @@
|
||||||
<select id="countMineralEnterAndQuitAll" resultType="pd" parameterType="pd">
|
<select id="countMineralEnterAndQuitAll" resultType="pd" parameterType="pd">
|
||||||
select
|
select
|
||||||
count(case when m.PASS_TYPE = '0' then 0 end) as `entered`,
|
count(case when m.PASS_TYPE = '0' then 0 end) as `entered`,
|
||||||
count(case when m.PASS_TYPE = '1' then 1 end) as `quited`
|
count(case when m.PASS_TYPE = '1' then 1 end) as `quited`,
|
||||||
|
count(case when m.PASS_TYPE = '0' then 0 end) - count(case when m.PASS_TYPE = '1' then 1 end) as present
|
||||||
from
|
from
|
||||||
`qa-czks-prevention`.`work_mineral_io_record` m
|
`qa-czks-prevention`.`work_mineral_io_record` m
|
||||||
where
|
where
|
||||||
|
@ -211,7 +213,7 @@
|
||||||
<if test="pd.CAR_TEAM_NAME!=null and pd.CAR_TEAM_NAME!='' ">
|
<if test="pd.CAR_TEAM_NAME!=null and pd.CAR_TEAM_NAME!='' ">
|
||||||
and f.CAR_TEAM_NAME like CONCAT(CONCAT('%',#{pd.CAR_TEAM_NAME}),'%')
|
and f.CAR_TEAM_NAME like CONCAT(CONCAT('%',#{pd.CAR_TEAM_NAME}),'%')
|
||||||
</if>
|
</if>
|
||||||
order by f.OPERATTIME desc
|
order by f.JGSJ desc
|
||||||
</select>
|
</select>
|
||||||
<select id="getGroceryDatalistPage" resultType="pd" parameterType="com.zcloud.entity.Page">
|
<select id="getGroceryDatalistPage" resultType="pd" parameterType="com.zcloud.entity.Page">
|
||||||
select *
|
select *
|
||||||
|
@ -243,6 +245,6 @@
|
||||||
<if test="pd.CAR_TEAM_NAME!=null and pd.CAR_TEAM_NAME!='' ">
|
<if test="pd.CAR_TEAM_NAME!=null and pd.CAR_TEAM_NAME!='' ">
|
||||||
and f.CAR_TEAM_NAME like CONCAT(CONCAT('%',#{pd.CAR_TEAM_NAME}),'%')
|
and f.CAR_TEAM_NAME like CONCAT(CONCAT('%',#{pd.CAR_TEAM_NAME}),'%')
|
||||||
</if>
|
</if>
|
||||||
order by f.OPERATTIME desc
|
order by f.JGSJ desc
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
<select id="getVideoLocation" parameterType="pd" resultType="pd">
|
<select id="getVideoLocation" parameterType="pd" resultType="pd">
|
||||||
SELECT
|
SELECT
|
||||||
'camera' TYPE,
|
'VIDEO' TYPE,
|
||||||
v.VIDEOMANAGER_ID id,
|
v.VIDEOMANAGER_ID id,
|
||||||
v.LONGITUDE,
|
v.LONGITUDE,
|
||||||
v.LATITUDE,
|
v.LATITUDE,
|
||||||
|
|
Loading…
Reference in New Issue