Commit 8ff7bd8d authored by suichenguang's avatar suichenguang

搜索接口

parent 910e5d6a
package com.yxproject.start.api;
import com.yxproject.start.entity.SpecialCardInfoEntity;
import com.yxproject.start.entity.resp.SelectByAcceptedEntity;
import com.yxproject.start.entity.resp.SelectByGroupNumEntity;
import com.yxproject.start.entity.resp.SelectByIdcardEntity;
import com.yxproject.start.entity.resp.SelectByWorkOrderEntity;
import com.yxproject.start.service.SelectSerialNumberService;
import com.yxproject.start.utils.YXJSONResponse;
import net.sf.json.JSONObject;
......@@ -23,28 +27,34 @@ public class selectApi {
private SelectSerialNumberService selectSerialNumberService;
@RequestMapping(value = "selectByCard")
public Map<String,Object> selectByCard(@RequestParam("id") String id, HttpServletResponse resp){
public String selectByCard(@RequestParam("id") String id, HttpServletResponse resp){
resp.setCharacterEncoding("UTF-8");
Map<String, Object> map = new HashMap<>();
switch (id.length()){
case 8:
SpecialCardInfoEntity specialCardInfo= selectSerialNumberService.selectByGroupNumber(id);
System.out.println("id"+id);
SelectByGroupNumEntity specialCardInfo= selectSerialNumberService.selectByGroupNumber(id);
map.put("searchResult",specialCardInfo);
break;
case 10:
SpecialCardInfoEntity specialCardInfo2 = selectSerialNumberService.selectByIDCardOrAccepted(id);
SelectByAcceptedEntity specialCardInfo2 = selectSerialNumberService.selectByAccepted(id);
map.put("searchResult",specialCardInfo2);
break;
case 18:
SpecialCardInfoEntity specialCardInfo3 = selectSerialNumberService.selectByIDCardOrAccepted(id);
SelectByIdcardEntity specialCardInfo3 = selectSerialNumberService.selectByIdCard(id);
map.put("searchResult",specialCardInfo3);
break;
case 11:
SpecialCardInfoEntity specialCardInfo4 = selectSerialNumberService.selectByWorkOrderNumber(id);
SelectByWorkOrderEntity specialCardInfo4 = selectSerialNumberService.selectByWorkOrderNumber(id);
map.put("searchResult",specialCardInfo4);
break;
}
JSONObject resultJson = JSONObject.fromObject(map);
return resultJson;
YXJSONResponse yxjsonResponse = new YXJSONResponse();
resp.setCharacterEncoding("UTF-8");
yxjsonResponse.outPutSuccess(map);
System.out.println("222222222"+ yxjsonResponse.toJSONString());
return yxjsonResponse.toJSONString();
}
}
......@@ -8,7 +8,7 @@ import java.util.Objects;
*/
@Entity
@Table(name = "GROUP_NO", schema = "DAHAI")
public class GroupNoEntity {
public class GroupNoEntity{
private long task_Id;
private String group_No;
private long valid_Count;
......@@ -21,7 +21,7 @@ public class GroupNoEntity {
return task_Id;
}
public void setTask_Id(long task_Id) {
public void setTask_Id(Long task_Id) {
this.task_Id = task_Id;
}
@Id
......
package com.yxproject.start.entity;
import javax.persistence.Entity;
import javax.xml.crypto.Data;
public class SpecialCardInfoEntity {
private TaskEntity taskEntity;
private GroupNoEntity groupNoEntity;
private AccCardTEntity accCardTEntity;
......@@ -75,7 +73,7 @@ public class SpecialCardInfoEntity {
return cityName;
}
public void setCityName(String cityName) {
public void setCityName(String cityName) {
this.cityName = cityName;
}
......
package com.yxproject.start.entity.resp;
import javax.xml.crypto.Data;
public class SelectByAcceptedEntity {
private String cardType;
private String library;
private String accept_No;
private String name;
private String sex_No;
private String id_No;
private String birthday;
private String sign_Govt;
private String begin_Date;
private String expire_Date;
private String status_No;
private String taskState;
private String cityName;
private Data lastModifyTime;
public String getCardType() {
return cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
public String getLibrary() {
return library;
}
public void setLibrary(String library) {
this.library = library;
}
public String getAccept_No() {
return accept_No;
}
public void setAccept_No(String accept_No) {
this.accept_No = accept_No;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSex_No() {
return sex_No;
}
public void setSex_No(String sex_No) {
this.sex_No = sex_No;
}
public String getId_No() {
return id_No;
}
public void setId_No(String id_No) {
this.id_No = id_No;
}
public String getBirthday() {
return birthday;
}
public void setBirthday(String birthday) {
this.birthday = birthday;
}
public String getSign_Govt() {
return sign_Govt;
}
public void setSign_Govt(String sign_Govt) {
this.sign_Govt = sign_Govt;
}
public String getBegin_Date() {
return begin_Date;
}
public void setBegin_Date(String begin_Date) {
this.begin_Date = begin_Date;
}
public String getExpire_Date() {
return expire_Date;
}
public void setExpire_Date(String expire_Date) {
this.expire_Date = expire_Date;
}
public String getStatus_No() {
return status_No;
}
public void setStatus_No(String status_No) {
this.status_No = status_No;
}
public String getTaskState() {
return taskState;
}
public void setTaskState(String taskState) {
this.taskState = taskState;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
public Data getLastModifyTime() {
return lastModifyTime;
}
public void setLastModifyTime(Data lastModifyTime) {
this.lastModifyTime = lastModifyTime;
}
}
package com.yxproject.start.entity.resp;
import java.util.Date;
public class SelectByGroupNumEntity {
private String library;
private String cityName;
private String cardType;
private String painterName;
private String taskId;
private String group_No;
private Date submit_Date;
private Date position_Date;
private String quality_People_Name;
private Date out_Storage_Date;
private Date in_Storage_Date;
private String exception_Information;
public String getLibrary() {
return library;
}
public void setLibrary(String library) {
this.library = library;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
public String getCardType() {
return cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
public String getPainterName() {
return painterName;
}
public void setPainterName(String painterName) {
this.painterName = painterName;
}
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getGroup_No() {
return group_No;
}
public void setGroup_No(String group_No) {
this.group_No = group_No;
}
public Date getSubmit_Date() {
return submit_Date;
}
public void setSubmit_Date(Date submit_Date) {
this.submit_Date = submit_Date;
}
public Date getPosition_Date() {
return position_Date;
}
public void setPosition_Date(Date position_Date) {
this.position_Date = position_Date;
}
public String getQuality_People_Name() {
return quality_People_Name;
}
public void setQuality_People_Name(String quality_People_Name) {
this.quality_People_Name = quality_People_Name;
}
public Date getOut_Storage_Date() {
return out_Storage_Date;
}
public void setOut_Storage_Date(Date out_Storage_Date) {
this.out_Storage_Date = out_Storage_Date;
}
public Date getIn_Storage_Date() {
return in_Storage_Date;
}
public void setIn_Storage_Date(Date in_Storage_Date) {
this.in_Storage_Date = in_Storage_Date;
}
public String getException_Information() {
return exception_Information;
}
public void setException_Information(String exception_Information) {
this.exception_Information = exception_Information;
}
}
package com.yxproject.start.entity.resp;
import javax.xml.crypto.Data;
import java.util.Date;
public class SelectByIdcardEntity {
private String cardType;
private String library;
private String accept_No;
private String name;
private String sex_No;
private String id_No;
private String birthday;
private String sign_Govt;
private String begin_Date;
private String expire_Date;
private String status_No;
private String taskState;
private String cityName;
private Data lastModifyTime;
public String getCardType() {
return cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
public String getLibrary() {
return library;
}
public void setLibrary(String library) {
this.library = library;
}
public String getAccept_No() {
return accept_No;
}
public void setAccept_No(String accept_No) {
this.accept_No = accept_No;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSex_No() {
return sex_No;
}
public void setSex_No(String sex_No) {
this.sex_No = sex_No;
}
public String getId_No() {
return id_No;
}
public void setId_No(String id_No) {
this.id_No = id_No;
}
public String getBirthday() {
return birthday;
}
public void setBirthday(String birthday) {
this.birthday = birthday;
}
public String getSign_Govt() {
return sign_Govt;
}
public void setSign_Govt(String sign_Govt) {
this.sign_Govt = sign_Govt;
}
public String getBegin_Date() {
return begin_Date;
}
public void setBegin_Date(String begin_Date) {
this.begin_Date = begin_Date;
}
public String getExpire_Date() {
return expire_Date;
}
public void setExpire_Date(String expire_Date) {
this.expire_Date = expire_Date;
}
public String getStatus_No() {
return status_No;
}
public void setStatus_No(String status_No) {
this.status_No = status_No;
}
public String getTaskState() {
return taskState;
}
public void setTaskState(String taskState) {
this.taskState = taskState;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
public Data getLastModifyTime() {
return lastModifyTime;
}
public void setLastModifyTime(Data lastModifyTime) {
this.lastModifyTime = lastModifyTime;
}
}
\ No newline at end of file
package com.yxproject.start.entity.resp;
import java.util.Date;
public class SelectByWorkOrderEntity {
private String library;
private String cityName;
private String cardType;
private String painterName;
private long task_Id;
private Date submit_Date;
private Date position_Date;
private String quality_People_Name;
private Date out_Storage_Date;
private Date in_Storage_Date;
private String exception_Information;
public String getLibrary() {
return library;
}
public void setLibrary(String library) {
this.library = library;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
public String getCardType() {
return cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
public String getPainterName() {
return painterName;
}
public void setPainterName(String painterName) {
this.painterName = painterName;
}
public long getTask_Id() {
return task_Id;
}
public void setTask_Id(long task_Id) {
this.task_Id = task_Id;
}
public Date getSubmit_Date() {
return submit_Date;
}
public void setSubmit_Date(Date submit_Date) {
this.submit_Date = submit_Date;
}
public Date getPosition_Date() {
return position_Date;
}
public void setPosition_Date(Date position_Date) {
this.position_Date = position_Date;
}
public String getQuality_People_Name() {
return quality_People_Name;
}
public void setQuality_People_Name(String quality_People_Name) {
this.quality_People_Name = quality_People_Name;
}
public Date getOut_Storage_Date() {
return out_Storage_Date;
}
public void setOut_Storage_Date(Date out_Storage_Date) {
this.out_Storage_Date = out_Storage_Date;
}
public Date getIn_Storage_Date() {
return in_Storage_Date;
}
public void setIn_Storage_Date(Date in_Storage_Date) {
this.in_Storage_Date = in_Storage_Date;
}
public String getException_Information() {
return exception_Information;
}
public void setException_Information(String exception_Information) {
this.exception_Information = exception_Information;
}
}
......@@ -8,6 +8,7 @@ import java.util.Map;
@Mapper
public interface SelectSerialNumberMapper {
public Map<String,Object> selectByGroupNumber(String id);
public Map<String,Object> selectByIDCardOrAccepted(String id);
public Map<String,Object> selectByAccepted(String id);
public Map<String,Object> selectByIdCard(String id);
public Map<String,Object> selectByWorkOrderNumber(String id);
}
package com.yxproject.start.service;
import com.yxproject.start.entity.SpecialCardInfoEntity;
import com.yxproject.start.entity.resp.SelectByAcceptedEntity;
import com.yxproject.start.entity.resp.SelectByGroupNumEntity;
import com.yxproject.start.entity.resp.SelectByIdcardEntity;
import com.yxproject.start.entity.resp.SelectByWorkOrderEntity;
public interface SelectSerialNumberService {
SpecialCardInfoEntity selectByGroupNumber(String id);
SpecialCardInfoEntity selectByIDCardOrAccepted(String id);
SpecialCardInfoEntity selectByWorkOrderNumber(String id);
SelectByGroupNumEntity selectByGroupNumber(String id);
SelectByAcceptedEntity selectByAccepted(String id);
SelectByIdcardEntity selectByIdCard(String id);
SelectByWorkOrderEntity selectByWorkOrderNumber(String id);
}
package com.yxproject.start.service.impl;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import com.yxproject.start.entity.AccCardTEntity;
import com.yxproject.start.entity.GroupNoEntity;
import com.yxproject.start.entity.SpecialCardInfoEntity;
import com.yxproject.start.entity.TaskEntity;
import com.yxproject.start.entity.resp.SelectByAcceptedEntity;
import com.yxproject.start.entity.resp.SelectByGroupNumEntity;
import com.yxproject.start.entity.resp.SelectByIdcardEntity;
import com.yxproject.start.entity.resp.SelectByWorkOrderEntity;
import com.yxproject.start.mapper.SelectSerialNumberMapper;
import com.yxproject.start.service.SelectSerialNumberService;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -17,87 +25,113 @@ public class SelectSerialNumberServiceImpl implements SelectSerialNumberService
@Autowired
public SelectSerialNumberMapper selectSerialNumberMapper;
@Override
public SpecialCardInfoEntity selectByGroupNumber(String id){
Map<String, Object> map = selectSerialNumberMapper.selectByGroupNumber(id);
System.out.println("数据111"+map);
SpecialCardInfoEntity specialCardInfoEntity = new SpecialCardInfoEntity();
specialCardInfoEntity.setLibrary("盈信库");
specialCardInfoEntity.getGroupNoEntity().setTask_Id((Long) map.get("TASK_ID"));
specialCardInfoEntity.getGroupNoEntity().setGroup_No(String.valueOf(map.get("GROUP_NO")));
specialCardInfoEntity.setCityName(String.valueOf(map.get("CITYNAME")));
specialCardInfoEntity.setCardType((String) map.get("CARD_TYPE"));
specialCardInfoEntity.getTaskEntity().setSubmit_Date((Date) map.get("SUBMIT_DATE"));
specialCardInfoEntity.setPainterName((String) map.get("PRINTER_NAME"));
specialCardInfoEntity.getTaskEntity().setPosition_Date((Date) map.get("POSITION_DATE"));
specialCardInfoEntity.getTaskEntity().setQuality_People_Name((String) map.get("QUALITY_PEOPLE_NAME"));
specialCardInfoEntity.getTaskEntity().setOut_Storage_Date((Date) map.get("OUT_STORAGE_DATE"));
specialCardInfoEntity.getTaskEntity().setIn_Storage_Date((Date) map.get("IN_STORAGE_DATE"));
specialCardInfoEntity.getTaskEntity().setException_Information((String) map.get("EXCEPTION_INFORMATION"));
return specialCardInfoEntity;
public SelectByGroupNumEntity selectByGroupNumber(String id){
Map<String, Object> map = selectSerialNumberMapper.selectByGroupNumber(id);
System.out.println("数据111"+map.toString());
SelectByGroupNumEntity selectByGroupNumEntity = new SelectByGroupNumEntity();
selectByGroupNumEntity.setLibrary("盈信库");
selectByGroupNumEntity.setCityName(String.valueOf(map.get("CITYNAME")));
selectByGroupNumEntity.setCardType((String) map.get("CARD_TYPE"));
selectByGroupNumEntity.setPainterName((String) map.get("PRINTER_NAME"));
selectByGroupNumEntity.setTaskId(String.valueOf(map.get("TASK_ID")));
selectByGroupNumEntity.setGroup_No(String.valueOf(map.get("GROUP_NO")));
selectByGroupNumEntity.setSubmit_Date((Date) map.get("SUBMIT_DATE"));
System.out.println("Date:"+selectByGroupNumEntity.getSubmit_Date().toString());
selectByGroupNumEntity.setPosition_Date((Date) map.get("POSITION_DATE"));
selectByGroupNumEntity.setQuality_People_Name((String) map.get("QUALITY_PEOPLE_NAME"));
selectByGroupNumEntity.setOut_Storage_Date((Date) map.get("OUT_STORAGE_DATE"));
selectByGroupNumEntity.setIn_Storage_Date((Date) map.get("IN_STORAGE_DATE"));
selectByGroupNumEntity.setException_Information((String) map.get("EXCEPTION_INFORMATION"));
return selectByGroupNumEntity;
}
@Override
public SpecialCardInfoEntity selectByIDCardOrAccepted(String id){
Map<String,Object> map = selectSerialNumberMapper.selectByIDCardOrAccepted(id);
SpecialCardInfoEntity specialCardInfoEntity = new SpecialCardInfoEntity();
public SelectByAcceptedEntity selectByAccepted(String id){
Map<String,Object> map = selectSerialNumberMapper.selectByAccepted(id);
SelectByAcceptedEntity selectByAcceptedEntity = new SelectByAcceptedEntity();
String sex ;
if ((Integer)map.get("SEX_NO")==1){
if (Integer.parseInt((String) map.get("SEX_NO")) ==1){
sex = "男";
}else if ((Integer)map.get("SEX_NO")==2){
}else if (Integer.parseInt((String) map.get("SEX_NO"))==2){
sex = "女";
}else {
sex = "缺失";
}
if ((Integer) map.get("CARD_TYPE")==0){
specialCardInfoEntity.setCardType((String) map.get("CARD_TYPE"));
}else if ( (Integer) map.get("CARD_TYPE")!= 0&& map.get("CARD_TYPE")!=null){
selectByAcceptedEntity.setCardType((String) map.get("CARD_TYPE"));
selectByAcceptedEntity.setLibrary("受理库");
selectByAcceptedEntity.setAccept_No((String) map.get("ACCEPT_NO"));
selectByAcceptedEntity.setName((String) map.get("NAME"));
selectByAcceptedEntity.setSex_No(sex);
selectByAcceptedEntity.setId_No((String) map.get("ID_NO"));
selectByAcceptedEntity.setBirthday((String) map.get("BIRTHDAY"));
selectByAcceptedEntity.setSign_Govt((String) map.get("SIGN_GOVT"));
selectByAcceptedEntity.setBegin_Date((String) map.get("BEGIN_DATE"));
selectByAcceptedEntity.setExpire_Date((String) map.get("EXPIRE_DATE"));
selectByAcceptedEntity.setStatus_No((String) map.get("STATUS_NO"));
selectByAcceptedEntity.setTaskState((String) map.get("TASK_STATE"));
selectByAcceptedEntity.setCityName((String) map.get("CITYNAME"));
selectByAcceptedEntity.setLastModifyTime((Data) map.get("lastModifyTime;"));
return selectByAcceptedEntity;
}
@Override
public SelectByIdcardEntity selectByIdCard(String id){
Map<String,Object> map = selectSerialNumberMapper.selectByIdCard(id);
SelectByIdcardEntity selectByIdcardEntity = new SelectByIdcardEntity();
String sex ;
if (Integer.parseInt((String) map.get("SEX_NO")) ==1){
sex = "男";
}else if (Integer.parseInt((String) map.get("SEX_NO"))==2){
sex = "女";
}else {
specialCardInfoEntity.setCardType("缺失");
sex = "缺失";
}
specialCardInfoEntity.setLibrary("受理库");
specialCardInfoEntity.getAccCardTEntity().setAcceptNo((String) map.get("ACCEPT_NO"));
specialCardInfoEntity.getAccCardTEntity().setName((String) map.get("NAME"));
specialCardInfoEntity.getAccCardTEntity().setIdNo((String) map.get("ID_NO"));
specialCardInfoEntity.getAccCardTEntity().setSexNo(sex);
specialCardInfoEntity.getAccCardTEntity().setBirthday((String) map.get("BIRTHDAY"));
specialCardInfoEntity.getAccCardTEntity().setSignGovt((String) map.get("SIGN_GOVT"));
specialCardInfoEntity.getAccCardTEntity().setBeginDate((String) map.get("BEGIN_DATE"));
specialCardInfoEntity.getAccCardTEntity().setExpireDate((String) map.get("EXPIRE_DATE"));
specialCardInfoEntity.getAccCardTEntity().setStatusNo((String) map.get("STATUS_NO"));
specialCardInfoEntity.setTaskState((String) map.get("TASK_STATE"));
specialCardInfoEntity.setCityName((String) map.get("CITYNAME"));
specialCardInfoEntity.setLastModifyTime((Data) map.get("lastModifyTime;"));
return specialCardInfoEntity;
selectByIdcardEntity.setCardType((String) map.get("CARD_TYPE"));
selectByIdcardEntity.setLibrary("受理库");
selectByIdcardEntity.setAccept_No((String) map.get("ACCEPT_NO"));
selectByIdcardEntity.setName((String) map.get("NAME"));
selectByIdcardEntity.setSex_No(sex);
selectByIdcardEntity.setId_No((String) map.get("ID_NO"));
selectByIdcardEntity.setBirthday((String) map.get("BIRTHDAY"));
selectByIdcardEntity.setSign_Govt((String) map.get("SIGN_GOVT"));
selectByIdcardEntity.setBegin_Date((String) map.get("BEGIN_DATE"));
selectByIdcardEntity.setExpire_Date((String) map.get("EXPIRE_DATE"));
selectByIdcardEntity.setStatus_No((String) map.get("STATUS_NO"));
selectByIdcardEntity.setTaskState((String) map.get("TASK_STATE"));
selectByIdcardEntity.setCityName((String) map.get("CITYNAME"));
selectByIdcardEntity.setLastModifyTime((Data) map.get("lastModifyTime;"));
return selectByIdcardEntity;
}
@Override
public SpecialCardInfoEntity selectByWorkOrderNumber(String id){
public SelectByWorkOrderEntity selectByWorkOrderNumber(String id){
Map<String,Object> map = selectSerialNumberMapper.selectByWorkOrderNumber(id);
SpecialCardInfoEntity specialCardInfoEntity = new SpecialCardInfoEntity();
specialCardInfoEntity.setLibrary("盈信库");
specialCardInfoEntity.getTaskEntity().setTask_Id((Long) map.get("TASK_ID"));
specialCardInfoEntity.setCityName((String) map.get("CITYNAME"));
specialCardInfoEntity.setCardType((String) map.get("CARD_TYPE"));
specialCardInfoEntity.getTaskEntity().setSubmit_Date((Date) map.get("SUBMIT_DATE"));
specialCardInfoEntity.setPainterName((String) map.get("PRINTER_NAME"));
specialCardInfoEntity.getTaskEntity().setPosition_Date((Date) map.get("POSITION_DATE"));
specialCardInfoEntity.getTaskEntity().setQuality_People_Name((String) map.get("QUALITY_PEOPLE_NAME"));
specialCardInfoEntity.getTaskEntity().setOut_Storage_Date((Date) map.get("OUT_STORAGE_DATE"));
specialCardInfoEntity.getTaskEntity().setIn_Storage_Date((Date) map.get("IN_STORAGE_DATE"));
specialCardInfoEntity.getTaskEntity().setException_Information((String) map.get("EXCEPTION_INFORMATION"));
return specialCardInfoEntity;
SelectByWorkOrderEntity selectByWorkOrderEntity = new SelectByWorkOrderEntity();
selectByWorkOrderEntity.setLibrary("盈信库");
selectByWorkOrderEntity.setCityName((String) map.get("CITYNAME"));
selectByWorkOrderEntity.setCardType((String) map.get("CARD_TYPE"));
selectByWorkOrderEntity.setPainterName((String) map.get("PRINTER_NAME"));
selectByWorkOrderEntity.setTask_Id((Long.valueOf(String.valueOf( map.get("TASK_ID")))));
selectByWorkOrderEntity.setSubmit_Date((Date) map.get("SUBMIT_DATE"));
selectByWorkOrderEntity.setPosition_Date((Date) map.get("POSITION_DATE"));
selectByWorkOrderEntity.setQuality_People_Name((String) map.get("QUALITY_PEOPLE_NAME"));
selectByWorkOrderEntity.setOut_Storage_Date((Date) map.get("OUT_STORAGE_DATE"));
selectByWorkOrderEntity.setIn_Storage_Date((Date) map.get("IN_STORAGE_DATE"));
selectByWorkOrderEntity.setException_Information((String) map.get("EXCEPTION_INFORMATION"));
System.out.println("实体:"+selectByWorkOrderEntity);
return selectByWorkOrderEntity;
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.ProdCardTMapper">
<mapper namespace="com.yxproject.start.mapper.SelectSerialNumberMapper">
<resultMap id="SelectSerialNumberMapper" type="java.util.HashMap">
</resultMap>
......@@ -49,7 +49,7 @@
LEFT JOIN CITY_DIC ON (TASK.CITYCODE = CITY_DIC.CITYCODE)
LEFT JOIN TASK_STATE_DIC ON (TASK.TASK_STATE_ID = TASK_STATE_DIC.TASK_STATE_ID)
LEFT JOIN CARD_TYPE_DIC ON (TASK.CARD_TYPE = CARD_TYPE_DIC.CARD_TYPE_ID)
where ACCEPT_NO=#{id};
where ACCEPT_NO=#{id}
</select>
<!--根据身份证号查询-->
......@@ -74,7 +74,7 @@
LEFT JOIN CITY_DIC ON (TASK.CITYCODE = CITY_DIC.CITYCODE)
LEFT JOIN TASK_STATE_DIC ON (TASK.TASK_STATE_ID = TASK_STATE_DIC.TASK_STATE_ID)
LEFT JOIN CARD_TYPE_DIC ON (TASK.CARD_TYPE = CARD_TYPE_DIC.CARD_TYPE_ID)
where ID_NO =#{id}
where ID_NO=#{id}
</select>
<!--根据任务单查询-->
......
......@@ -659,15 +659,16 @@ app.service('MessageService', function (ngDialog) {
id:cardid
}
}).then(function successCallback(response) {
console.log(response.data,"-------------response.data------")
success(response.data)
},function(err){
DebugService.debug("$http error:", err)
DebugService.debug("----------------------------------------------")
console.log("error111111111111111111")
// DebugService.debug("$http error:", err)
// DebugService.debug("----------------------------------------------")
var errA = {Error:true, ReturnCode:err.status, ReturnMsg:"API访问返回错误"}
MessageService.httpRequestFailed(JSON.stringify(errA))
})
},
}
}])
\ No newline at end of file
......@@ -24,11 +24,8 @@ app.controller('layOutCtrl', ['$scope', '$rootScope', '$http', '$state', '$filte
$scope.doSearch = function(){
$rootScope.searchInput=$("#searchInput").val();
HttpService.querySpecialCardInfo($rootScope.searchInput,function(data) {
console.log(data,"----layout.searchSpecialCard--")
if(data != null){
$rootScope.specialCardInfo = data.respData;
console.log("搜索结果")
console.log("$rootScope.specialCardInfo",$rootScope.specialCardInfo)
$rootScope.specialCardInfo = data.respData.searchResult;
}
})
......
......@@ -16,12 +16,14 @@
<h3 ng-show="specialCardInfo== null&&searchInput!=null">没有找到与 "{{searchInput}}" 相关的信息。</h3>
<h3 ng-show="searchInput==null">请在快速搜索框中填写身份证号/受理号,查询相关信息。</h3>
<div style="width: auto">
<div ng-if="specialCardInfo[0].isGroup==0">
<div class="panel panel-default" ng-if="specialCardInfo[1]!=null">
<h3 class="panel-title">
{{specialCardInfo.library}}
</h3>
<div >
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
{{specialCardInfo[1].cycleSheetInfo}}
{{specialCardInfo.library}}
</h3>
</div>
<div class="panel-body" style="width: auto">
......@@ -33,34 +35,27 @@
<th>地市</th>
<th>制证类型</th>
<th>日期</th>
<th>工序</th>
<th>操作时间</th>
<th>机器号</th>
<th>制证车间</th>
<th>质检</th>
<th>出库时间</th>
<th>入库时间</th>
<th>异常信息</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[1].info[9]}}</td>
<td>{{specialCardInfo[1].info[14]}}</td>
<td>{{specialCardInfo[1].info[6]}}</td>
<td>{{specialCardInfo[1].info[1]|myDateFilter}}</td>
<td>{{specialCardInfo[1].info[7]}}</td>
<td>{{specialCardInfo[1].info[4]}}</td>
<td>{{specialCardInfo[1].info[16]}}</td>
<td ng-if="specialCardInfo[1].info[2]=='p1'">平一</td>
<td ng-if="specialCardInfo[1].info[2]=='p2'">平二</td>
<td>{{specialCardInfo[1].info[15]}}</td>
<td ng-if="specialCardInfo[1].info[12]!=null">{{specialCardInfo[1].info[12] |
myDateFilter}}
<td>{{specialCardInfo.group_No}}</td>
<td>{{specialCardInfo.cityName}}</td>
<td>{{specialCardInfo.cardType}}</td>
<td><span>{{specialCardInfo.submit_Date.time | date:'yyyy-MM-dd'}}</span></td>
<td>{{specialCardInfo.position_Date}}</td>
<td>{{specialCardInfo.painterName}}</td>
<td>{{specialCardInfo.quality_People_Name}}</td>
<td>{{specialCardInfo.out_Storage_Date.time | date:'yyyy-MM-dd'}}</td>
<td>{{specialCardInfo.in_Storage_Date.time | date:'yyyy-MM-dd'}}</td>
<td ng-if="specialCardInfo.exception_Information!=null">{{specialCardInfo.exception_Information}}
</td>
<td ng-if="specialCardInfo[1].info[13]!=null">{{specialCardInfo[1].info[12] |
myDateFilter}}
</td>
<td ng-if="specialCardInfo[1].info[12]==null"></td>
<td ng-if="specialCardInfo[1].info[13]==null"></td>
</tr>
</tbody>
</table>
......@@ -73,7 +68,7 @@
<div class="panel-heading">
<h3 class="panel-title">
{{specialCardInfo[0].database}}
{{specialCardInfo.library}}
</h3>
</div>
<div class="panel-body" style="width: auto">
......@@ -82,9 +77,9 @@
<table class="table">
<thead>
<th>地市</th>
<th ng-show="specialCardInfo[0].oldGroupNo!=null">受理号</th>
<th ng-show="specialCardInfo.ACCEPT_NO!=null">受理号</th>
<th>姓名</th>
<th ng-show="specialCardInfo[0].makeName!=null">制证类型</th>
<th ng-show="specialCardInfo.CARD_TYPE!=null">制证类型</th>
<th>身份证号</th>
<th>性别</th>
<th>出生日期</th>
......@@ -98,24 +93,20 @@
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].sbdw}}</td>
<td ng-show="specialCardInfo[0].oldGroupNo!=null">
{{specialCardInfo[0].oldGroupNo}}
<td>{{specialCardInfo.CITYNAME}}</td>
<td ng-show="specialCardInfo.ACCEPT_NO!=null">
{{specialCardInfo.ACCEPT_NO}}
</td>
<td>{{specialCardInfo[0].name}}</td>
<td ng-show="specialCardInfo[0].makeType!=null">{{specialCardInfo[0].makeName}}</td>
<td>{{specialCardInfo[0].IDcard}}</td>
<td>{{specialCardInfo[0].xb}}</td>
<td>{{specialCardInfo[0].csrq | myDateFilter}}</td>
<td>{{specialCardInfo[0].jfjg}}</td>
<td>{{specialCardInfo[0].yxqqsrq}}</td>
<td>{{specialCardInfo[0].yxqjzrq}}</td>
<td>{{specialCardInfo[0].state}}</td>
<td>{{specialCardInfo[0].sbdw}}</td>
<td ng-if="specialCardInfo[0].type==0">废证</td>
<td ng-if="specialCardInfo[0].type==1">快证</td>
<td ng-if="specialCardInfo[0].type==2">余证</td>
<td ng-if="specialCardInfo[0].type==3">退证</td>
<td>{{specialCardInfo.NAME}}</td>
<td ng-show="specialCardInfo.CARD_TYPE!=null">{{specialCardInfo.CARD_TYPE}}</td>
<td>{{specialCardInfo.ID_NO}}</td>
<td>{{specialCardInfo.sex}}</td>
<td>{{specialCardInfo.BIRTHDAY }}</td>
<td>{{specialCardInfo.SIGN_GOVT}}</td>
<td>{{specialCardInfo.BEGIN_DATE}}</td>
<td>{{specialCardInfo.EXPIRE_DATE}}</td>
<td>{{specialCardInfo.TASK_STATE}}</td>
<td>{{specialCardInfo.CITYNAME}}</td>
</tr>
</tbody>
</table>
......@@ -164,469 +155,467 @@
</div>
</div>
<div ng-if="specialCardInfo[0].isGroup==1">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
{{specialCardInfo[0].library}}
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
<table class="table">
<thead>
<th>组号</th>
<th>证件类型</th>
<th>地域</th>
<th>循环单生成时间</th>
<th>工序</th>
<th>转入制证库时间</th>
<th>打印卸载时间</th>
<th>电写入时间</th>
<th>电质检时间</th>
<th>生产车间</th>
<th>机器号</th>
<th>出库时间</th>
<th>入库时间</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].groupNo}}</td>
<td>{{specialCardInfo[0].info[5]}}</td>
<td>{{specialCardInfo[0].info[5]}}</td>
<td>{{specialCardInfo[0].info[3]}}</td>
<td>{{specialCardInfo[0].info[6]}}</td>
<td>{{specialCardInfo[0].info[7]}}</td>
<td>{{specialCardInfo[0].info[8]}}</td>
<td>{{specialCardInfo[0].info[9]}}</td>
<td>{{specialCardInfo[0].info[10]}}</td>
<td ng-if="specialCardInfo[0].info[12]=='p1'">平一车间</td>
<td ng-if="specialCardInfo[0].info[12]=='p2'">平二车间</td>
<td ng-if="specialCardInfo[0].info[12]==null">未分配</td>
<td>{{specialCardInfo[0].info[11]}}</td>
<td>{{specialCardInfo[0].info[16]| limitTo:8}}</td>
<td>{{specialCardInfo[0].info[17]| limitTo:8}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--<div ng-if="specialCardInfo[0].isGroup==1">-->
<!--<div class="panel panel-default">-->
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--{{specialCardInfo[0].library}}-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>组号</th>-->
<!--<th>证件类型</th>-->
<!--<th>地域</th>-->
<!--<th>循环单生成时间</th>-->
<!--<th>工序</th>-->
<!--<th>转入制证库时间</th>-->
<!--<th>打印卸载时间</th>-->
<!--<th>电写入时间</th>-->
<!--<th>电质检时间</th>-->
<!--<th>生产车间</th>-->
<!--<th>机器号</th>-->
<!--<th>出库时间</th>-->
<!--<th>入库时间</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].groupNo}}</td>-->
<!--<td>{{specialCardInfo[0].info[5]}}</td>-->
<!--<td>{{specialCardInfo[0].info[5]}}</td>-->
<!--<td>{{specialCardInfo[0].info[3]}}</td>-->
<!--<td>{{specialCardInfo[0].info[6]}}</td>-->
<!--<td>{{specialCardInfo[0].info[7]}}</td>-->
<!--<td>{{specialCardInfo[0].info[8]}}</td>-->
<!--<td>{{specialCardInfo[0].info[9]}}</td>-->
<!--<td>{{specialCardInfo[0].info[10]}}</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]=='p1'">平一车间</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]=='p2'">平二车间</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]==null">未分配</td>-->
<!--<td>{{specialCardInfo[0].info[11]}}</td>-->
<!--<td>{{specialCardInfo[0].info[16]| limitTo:8}}</td>-->
<!--<td>{{specialCardInfo[0].info[17]| limitTo:8}}</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
</div>
</div>
<div class="panel panel-default" ng-if="specialCardInfo[0].info[15]==1">
<!--</div>-->
<!--</div>-->
<!--<div class="panel panel-default" ng-if="specialCardInfo[0].info[15]==1">-->
<div class="panel-heading">
<h3 class="panel-title">
异常信息
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
{{specialCardInfo[0].info[14]}}
</div>
</div>
</div>
</div>
</div>
<div ng-if="specialCardInfo[0].isGroup==3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
{{specialCardInfo[0].library}}
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
<table class="table">
<thead>
<th>组号</th>
<th>原文件名</th>
<th>证件类型</th>
<th>循环单生成时间</th>
<th>循环单所处工序</th>
<th>装库时间</th>
<th>出库时间</th>
<th>入库时间</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].groupNo}}</td>
<td>{{specialCardInfo[0].info[12]}}</td>
<td>{{specialCardInfo[0].info[5]}}</td>
<td>{{specialCardInfo[0].info[4]}}</td>
<td>{{specialCardInfo[0].info[6]}}</td>
<td>{{specialCardInfo[0].info[7]}}</td>
<td>{{specialCardInfo[0].info[16]| limitTo:8}}</td>
<td>{{specialCardInfo[0].info[17]| limitTo:8}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--异常信息-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--{{specialCardInfo[0].info[14]}}-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<div ng-if="specialCardInfo[0].isGroup==3">-->
<!--<div class="panel panel-default">-->
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--{{specialCardInfo[0].library}}-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>组号</th>-->
<!--<th>原文件名</th>-->
<!--<th>证件类型</th>-->
<!--<th>循环单生成时间</th>-->
<!--<th>循环单所处工序</th>-->
<!--<th>装库时间</th>-->
<!--<th>出库时间</th>-->
<!--<th>入库时间</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].groupNo}}</td>-->
<!--<td>{{specialCardInfo[0].info[12]}}</td>-->
<!--<td>{{specialCardInfo[0].info[5]}}</td>-->
<!--<td>{{specialCardInfo[0].info[4]}}</td>-->
<!--<td>{{specialCardInfo[0].info[6]}}</td>-->
<!--<td>{{specialCardInfo[0].info[7]}}</td>-->
<!--<td>{{specialCardInfo[0].info[16]| limitTo:8}}</td>-->
<!--<td>{{specialCardInfo[0].info[17]| limitTo:8}}</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
</div>
</div>
<div class="panel panel-default" ng-if="specialCardInfo[0].info[15]==1">
<!--</div>-->
<!--</div>-->
<!--<div class="panel panel-default" ng-if="specialCardInfo[0].info[15]==1">-->
<div class="panel-heading">
<h3 class="panel-title">
异常信息
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
{{specialCardInfo[0].info[14]}}
</div>
</div>
</div>
</div>
</div>
<div ng-if="specialCardInfo[0].isGroup==4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
{{specialCardInfo[0].library}}
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
<table class="table">
<thead>
<th>循环单流水号</th>
<th>组号</th>
<th>制证类型</th>
<th>时间</th>
<th>工序</th>
<th>打印机器</th>
<th>制证车间</th>
<th>质检人</th>
<th>出库时间</th>
<th>入库时间</th>
<th>异常</th>
<th ng-if="specialCardInfo[0].info[12]==1">异常信息</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].info[1]}}</td>
<td>{{specialCardInfo[0].groupNo}}</td>
<td>{{specialCardInfo[0].info[5]}}</td>
<td>{{specialCardInfo[0].info[3]}}</td>
<td>{{specialCardInfo[0].info[6]}}</td>
<td>{{specialCardInfo[0].info[8]}}</td>
<td ng-if="specialCardInfo[0].info[9]=='p1'">平一车间</td>
<td ng-if="specialCardInfo[0].info[9]=='p2'">平二车间</td>
<td ng-if="specialCardInfo[0].info[9]==null">未分配</td>
<td>{{specialCardInfo[0].info[10]}}</td>
<td>{{specialCardInfo[0].info[13] | limitTo:8}}</td>
<td>{{specialCardInfo[0].info[14] | limitTo:8}}</td>
<td ng-if="specialCardInfo[0].info[12]==0"></td>
<td ng-if="specialCardInfo[0].info[12]==1" style="color:red;">异常</td>
<td ng-if="specialCardInfo[0].info[12]==1">{{specialCardInfo[0].info[11]}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--异常信息-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--{{specialCardInfo[0].info[14]}}-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<div ng-if="specialCardInfo[0].isGroup==4">-->
<!--<div class="panel panel-default">-->
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--{{specialCardInfo[0].library}}-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>循环单流水号</th>-->
<!--<th>组号</th>-->
<!--<th>制证类型</th>-->
<!--<th>时间</th>-->
<!--<th>工序</th>-->
<!--<th>打印机器</th>-->
<!--<th>制证车间</th>-->
<!--<th>质检人</th>-->
<!--<th>出库时间</th>-->
<!--<th>入库时间</th>-->
<!--<th>异常</th>-->
<!--<th ng-if="specialCardInfo[0].info[12]==1">异常信息</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].info[1]}}</td>-->
<!--<td>{{specialCardInfo[0].groupNo}}</td>-->
<!--<td>{{specialCardInfo[0].info[5]}}</td>-->
<!--<td>{{specialCardInfo[0].info[3]}}</td>-->
<!--<td>{{specialCardInfo[0].info[6]}}</td>-->
<!--<td>{{specialCardInfo[0].info[8]}}</td>-->
<!--<td ng-if="specialCardInfo[0].info[9]=='p1'">平一车间</td>-->
<!--<td ng-if="specialCardInfo[0].info[9]=='p2'">平二车间</td>-->
<!--<td ng-if="specialCardInfo[0].info[9]==null">未分配</td>-->
<!--<td>{{specialCardInfo[0].info[10]}}</td>-->
<!--<td>{{specialCardInfo[0].info[13] | limitTo:8}}</td>-->
<!--<td>{{specialCardInfo[0].info[14] | limitTo:8}}</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]==0">无</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]==1" style="color:red;">异常</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]==1">{{specialCardInfo[0].info[11]}}</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
</div>
</div>
<div class="panel panel-default" ng-if="specialCardInfo[0].info[15]==1">
<!--</div>-->
<!--</div>-->
<!--<div class="panel panel-default" ng-if="specialCardInfo[0].info[15]==1">-->
<div class="panel-heading">
<h3 class="panel-title">
异常信息
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
{{specialCardInfo[0].info[14]}}
</div>
</div>
</div>
</div>
</div>
<div ng-if="specialCardInfo[0].isGroup==5">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
{{specialCardInfo[0].library}}
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
<table class="table">
<thead>
<th>组号</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].groupNo}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--异常信息-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--{{specialCardInfo[0].info[14]}}-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<div ng-if="specialCardInfo[0].isGroup==5">-->
<!--<div class="panel panel-default">-->
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--{{specialCardInfo[0].library}}-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>组号</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].groupNo}}</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
</div>
</div>
</div>
<div ng-if="specialCardInfo[0].isGroup==6">
<div class="panel panel-default" ng-if="specialCardInfo[0]!=null">
<div class="panel-heading">
<h3 class="panel-title">
{{specialCardInfo[0].cycleSheetInfo}}
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
<table class="table">
<thead>
<th>编号</th>
<th>地市</th>
<th>制证类型</th>
<th>日期</th>
<!--<th>最后修改日期</th>-->
<th>工序</th>
<th>操作时间</th>
<th>机器号</th>
<th>制证车间</th>
<th>质检</th>
<th>出库时间</th>
<th>入库时间</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].info[9]}}</td>
<td>{{specialCardInfo[0].info[14]}}</td>
<td>{{specialCardInfo[0].info[6]}}</td>
<td>{{specialCardInfo[0].info[1]|myDateFilter}}</td>
<td>{{specialCardInfo[0].info[7]}}</td>
<td>{{specialCardInfo[0].info[4]}}</td>
<td>{{specialCardInfo[0].info[16]}}</td>
<td ng-if="specialCardInfo[0].info[2]=='p1'">平一</td>
<td ng-if="specialCardInfo[0].info[2]=='p2'">平二</td>
<td>{{specialCardInfo[0].info[15]}}</td>
<td ng-if="specialCardInfo[0].info[12]!=null">{{specialCardInfo[1].info[12] |
myDateFilter}}
</td>
<td ng-if="specialCardInfo[0].info[13]!=null">{{specialCardInfo[1].info[12] |
myDateFilter}}
</td>
<td ng-if="specialCardInfo[0].info[12]==null"></td>
<td ng-if="specialCardInfo[0].info[13]==null"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div ng-if="specialCardInfo[0].isGroup==8">
<!--循环单-->
<div class="panel panel-default" ng-if="specialCardInfo[0].cyclesheet.length>0">
<div class="panel-heading">
<h3 class="panel-title">
循环单
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0 15px 0 15px;">
<table class="table">
<thead>
<th>循环单流水号</th>
<th>组号</th>
<th>地市</th>
<th>制证类型</th>
<th>创建日期</th>
<th>工序</th>
<th>最后修改时间</th>
<th>机器号</th>
<th>制证车间</th>
<th>预定位接收时间</th>
<th>质检人</th>
<th>出库时间</th>
<th>入库时间</th>
<th>异常</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].cyclesheet[0]}}</td>
<td>{{specialCardInfo[0].cyclesheet[1]}}</td>
<td>{{specialCardInfo[0].cyclesheet[2]}}</td>
<td>{{specialCardInfo[0].cyclesheet[3]}}</td>
<td>{{specialCardInfo[0].cyclesheet[4]}}</td>
<td>{{specialCardInfo[0].cyclesheet[5]}}</td>
<td>{{specialCardInfo[0].cyclesheet[6]}}</td>
<td>{{specialCardInfo[0].cyclesheet[7]}}</td>
<td ng-if="specialCardInfo[0].cyclesheet[8]=='p1'||specialCardInfo[0].cyclesheet[8]=='p3'">
平一
</td>
<td ng-if="specialCardInfo[0].cyclesheet[8]=='p2'||specialCardInfo[0].cyclesheet[8]=='p4'">
平二
</td>
<td>{{specialCardInfo[0].cyclesheet[9]}}</td>
<td>{{specialCardInfo[0].cyclesheet[10]}}</td>
<td>{{specialCardInfo[0].cyclesheet[11] | limitTo:8}}</td>
<td>{{specialCardInfo[0].cyclesheet[12] | limitTo:8}}</td>
<td ng-if="specialCardInfo[0].cyclesheet[14]==0"></td>
<td ng-if="specialCardInfo[0].cyclesheet[14]==1">
{{specialCardInfo[0].cyclesheet[13]}}
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<div ng-if="specialCardInfo[0].isGroup==6">-->
<!--<div class="panel panel-default" ng-if="specialCardInfo[0]!=null">-->
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--{{specialCardInfo[0].cycleSheetInfo}}-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>编号</th>-->
<!--<th>地市</th>-->
<!--<th>制证类型</th>-->
<!--<th>日期</th>-->
<!--&lt;!&ndash;<th>最后修改日期</th>&ndash;&gt;-->
<!--<th>工序</th>-->
<!--<th>操作时间</th>-->
<!--<th>机器号</th>-->
<!--<th>制证车间</th>-->
<!--<th>质检</th>-->
<!--<th>出库时间</th>-->
<!--<th>入库时间</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].info[9]}}</td>-->
<!--<td>{{specialCardInfo[0].info[14]}}</td>-->
<!--<td>{{specialCardInfo[0].info[6]}}</td>-->
<!--<td>{{specialCardInfo[0].info[1]}}</td>-->
<!--<td>{{specialCardInfo[0].info[7]}}</td>-->
<!--<td>{{specialCardInfo[0].info[4]}}</td>-->
<!--<td>{{specialCardInfo[0].info[16]}}</td>-->
<!--<td ng-if="specialCardInfo[0].info[2]=='p1'">平一</td>-->
<!--<td ng-if="specialCardInfo[0].info[2]=='p2'">平二</td>-->
<!--<td>{{specialCardInfo[0].info[15]}}</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]!=null">{{specialCardInfo[1].info[12] }}-->
<!--</td>-->
<!--<td ng-if="specialCardInfo[0].info[13]!=null">{{specialCardInfo[1].info[12] }}-->
<!--</td>-->
<!--<td ng-if="specialCardInfo[0].info[12]==null"></td>-->
<!--<td ng-if="specialCardInfo[0].info[13]==null"></td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<div ng-if="specialCardInfo[0].isGroup==8">-->
<!--&lt;!&ndash;循环单&ndash;&gt;-->
<!--<div class="panel panel-default" ng-if="specialCardInfo[0].cyclesheet.length>0">-->
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--循环单-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0 15px 0 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>循环单流水号</th>-->
<!--<th>组号</th>-->
<!--<th>地市</th>-->
<!--<th>制证类型</th>-->
<!--<th>创建日期</th>-->
<!--<th>工序</th>-->
<!--<th>最后修改时间</th>-->
<!--<th>机器号</th>-->
<!--<th>制证车间</th>-->
<!--<th>预定位接收时间</th>-->
<!--<th>质检人</th>-->
<!--<th>出库时间</th>-->
<!--<th>入库时间</th>-->
<!--<th>异常</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].cyclesheet[0]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[1]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[2]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[3]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[4]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[5]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[6]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[7]}}</td>-->
<!--<td ng-if="specialCardInfo[0].cyclesheet[8]=='p1'||specialCardInfo[0].cyclesheet[8]=='p3'">-->
<!--平一-->
<!--</td>-->
<!--<td ng-if="specialCardInfo[0].cyclesheet[8]=='p2'||specialCardInfo[0].cyclesheet[8]=='p4'">-->
<!--平二-->
<!--</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[9]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[10]}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[11] | limitTo:8}}</td>-->
<!--<td>{{specialCardInfo[0].cyclesheet[12] | limitTo:8}}</td>-->
<!--<td ng-if="specialCardInfo[0].cyclesheet[14]==0">无</td>-->
<!--<td ng-if="specialCardInfo[0].cyclesheet[14]==1">-->
<!--{{specialCardInfo[0].cyclesheet[13]}}-->
<!--</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--制证库-->
<div class="panel panel-default" ng-if="specialCardInfo[0].prod.length>0">
<!--&lt;!&ndash;制证库&ndash;&gt;-->
<!--<div class="panel panel-default" ng-if="specialCardInfo[0].prod.length>0">-->
<div class="panel-heading">
<h3 class="panel-title">
制证库
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
<table class="table">
<thead>
<th>组号</th>
<th>卸载数量</th>
<th>卸载日期</th>
<th>电写入数量</th>
<th>电写入日期</th>
<th>质检数量</th>
<th>质检日期</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].prod[0]}}</td>
<td>{{specialCardInfo[0].prod[1]}}</td>
<td>{{specialCardInfo[0].prod[2]}}</td>
<td>{{specialCardInfo[0].prod[3]}}</td>
<td>{{specialCardInfo[0].prod[4]}}</td>
<td>{{specialCardInfo[0].prod[5]}}</td>
<td>{{specialCardInfo[0].prod[6]}}</td>
</tr>
</tbody>
</table>
</div>
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--制证库-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>组号</th>-->
<!--<th>卸载数量</th>-->
<!--<th>卸载日期</th>-->
<!--<th>电写入数量</th>-->
<!--<th>电写入日期</th>-->
<!--<th>质检数量</th>-->
<!--<th>质检日期</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].prod[0]}}</td>-->
<!--<td>{{specialCardInfo[0].prod[1]}}</td>-->
<!--<td>{{specialCardInfo[0].prod[2]}}</td>-->
<!--<td>{{specialCardInfo[0].prod[3]}}</td>-->
<!--<td>{{specialCardInfo[0].prod[4]}}</td>-->
<!--<td>{{specialCardInfo[0].prod[5]}}</td>-->
<!--<td>{{specialCardInfo[0].prod[6]}}</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
</div>
</div>
</div>
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--受理库-->
<div class="panel panel-default" ng-if="specialCardInfo[0].accu.length>0">
<!--&lt;!&ndash;受理库&ndash;&gt;-->
<!--<div class="panel panel-default" ng-if="specialCardInfo[0].accu.length>0">-->
<div class="panel-heading">
<h3 class="panel-title">
受理库
</h3>
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0px 15px 0px 15px;">
<table class="table">
<thead>
<th>组号</th>
<th>装库日期</th>
<th>组号状态</th>
<th>合格数</th>
<th>不合格数</th>
<th>核验日期</th>
<th>核验人</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].accu[0]}}</td>
<td>{{specialCardInfo[0].accu[1]}}</td>
<td>{{specialCardInfo[0].accu[2]}}</td>
<td>{{specialCardInfo[0].accu[3]}}</td>
<td>{{specialCardInfo[0].accu[4]}}</td>
<td>{{specialCardInfo[0].accu[5]}}</td>
<td>{{specialCardInfo[0].accu[6]}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--受理库-->
<!--</h3>-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0px 15px 0px 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>组号</th>-->
<!--<th>装库日期</th>-->
<!--<th>组号状态</th>-->
<!--<th>合格数</th>-->
<!--<th>不合格数</th>-->
<!--<th>核验日期</th>-->
<!--<th>核验人</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].accu[0]}}</td>-->
<!--<td>{{specialCardInfo[0].accu[1]}}</td>-->
<!--<td>{{specialCardInfo[0].accu[2]}}</td>-->
<!--<td>{{specialCardInfo[0].accu[3]}}</td>-->
<!--<td>{{specialCardInfo[0].accu[4]}}</td>-->
<!--<td>{{specialCardInfo[0].accu[5]}}</td>-->
<!--<td>{{specialCardInfo[0].accu[6]}}</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
</div>
<div ng-if="specialCardInfo[0].isGroup==11">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
循环单
</h3>分配时间
</div>
<div class="panel-body" style="width: auto">
<div class="container" style="width: auto">
<div style="float: left;padding:0 15px 0 15px;">
<table class="table">
<thead>
<th>循环单流水号</th>
<th>组号</th>
<th>证件数量</th>
<th>地市</th>
<th>制证类型</th>
<th>创建日期</th>
<th>最后修改日期</th>
<th>最后工序</th>
<th>机器号</th>
<th>制证车间</th>
<th>预定位接收时间</th>
<th>质检人</th>
<th>出库时间</th>
<th>入库时间</th>
<th>异常</th>
</thead>
<tbody>
<tr>
<td>{{specialCardInfo[0].cycleSheetID}}</td>
<td>{{specialCardInfo[0].groupNum}}</td>
<td>{{specialCardInfo[0].count}}</td>
<td>{{specialCardInfo[0].cityName}}</td>
<td>{{specialCardInfo[0].makeTypeName}}</td>
<td>{{specialCardInfo[0].createDate}}</td>
<td>{{specialCardInfo[0].lastDate}}</td>
<td>{{specialCardInfo[0].lastProcessName}}</td>
<td>{{specialCardInfo[0].machine}}</td>
<td ng-if="specialCardInfo[0].workShop=='p1'||specialCardInfo[0].workShop=='p3'">
平一
</td>
<td ng-if="specialCardInfo[0].workShop=='p2'||specialCardInfo[0].workShop=='p4'">
平二
</td>
<td>{{specialCardInfo[0].permanentPositionDate}}</td>
<td>{{specialCardInfo[0].qualityinspection}}</td>
<td>{{specialCardInfo[0].outbound}}</td>
<td>{{specialCardInfo[0].putInStorage}}</td>
<td ng-if="specialCardInfo[0].abnormal==0"></td>
<td ng-if="specialCardInfo[0].abnormal==1">{{specialCardInfo[0].note}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!--</div>-->
<!--<div ng-if="specialCardInfo[0].isGroup==11">-->
<!--<div class="panel panel-default">-->
<!--<div class="panel-heading">-->
<!--<h3 class="panel-title">-->
<!--循环单-->
<!--</h3>分配时间-->
<!--</div>-->
<!--<div class="panel-body" style="width: auto">-->
<!--<div class="container" style="width: auto">-->
<!--<div style="float: left;padding:0 15px 0 15px;">-->
<!--<table class="table">-->
<!--<thead>-->
<!--<th>循环单流水号</th>-->
<!--<th>组号</th>-->
<!--<th>证件数量</th>-->
<!--<th>地市</th>-->
<!--<th>制证类型</th>-->
<!--<th>创建日期</th>-->
<!--<th>最后修改日期</th>-->
<!--<th>最后工序</th>-->
<!--<th>机器号</th>-->
<!--<th>制证车间</th>-->
<!--<th>预定位接收时间</th>-->
<!--<th>质检人</th>-->
<!--<th>出库时间</th>-->
<!--<th>入库时间</th>-->
<!--<th>异常</th>-->
<!--</thead>-->
<!--<tbody>-->
<!--<tr>-->
<!--<td>{{specialCardInfo[0].cycleSheetID}}</td>-->
<!--<td>{{specialCardInfo[0].groupNum}}</td>-->
<!--<td>{{specialCardInfo[0].count}}</td>-->
<!--<td>{{specialCardInfo[0].cityName}}</td>-->
<!--<td>{{specialCardInfo[0].makeTypeName}}</td>-->
<!--<td>{{specialCardInfo[0].createDate}}</td>-->
<!--<td>{{specialCardInfo[0].lastDate}}</td>-->
<!--<td>{{specialCardInfo[0].lastProcessName}}</td>-->
<!--<td>{{specialCardInfo[0].machine}}</td>-->
<!--<td ng-if="specialCardInfo[0].workShop=='p1'||specialCardInfo[0].workShop=='p3'">-->
<!--平一-->
<!--</td>-->
<!--<td ng-if="specialCardInfo[0].workShop=='p2'||specialCardInfo[0].workShop=='p4'">-->
<!--平二-->
<!--</td>-->
<!--<td>{{specialCardInfo[0].permanentPositionDate}}</td>-->
<!--<td>{{specialCardInfo[0].qualityinspection}}</td>-->
<!--<td>{{specialCardInfo[0].outbound}}</td>-->
<!--<td>{{specialCardInfo[0].putInStorage}}</td>-->
<!--<td ng-if="specialCardInfo[0].abnormal==0">无</td>-->
<!--<td ng-if="specialCardInfo[0].abnormal==1">{{specialCardInfo[0].note}}</td>-->
<!--</tr>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
</div>
</div>
\ No newline at end of file
......@@ -3,5 +3,10 @@ package com.yxproject.start.service.impl;
public class selectTest {
public static void main(String args[]){
Object c = 1111;
Long b=Long.valueOf(String.valueOf(c));
System.out.println(b);
System.out.println(c.getClass());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment