Commit 4d9acc52 by wuchengwu

万里红虹膜提示语修改

parent 00873e79
...@@ -196,9 +196,23 @@ function wlhhmts(){ ...@@ -196,9 +196,23 @@ function wlhhmts(){
layer.confirm('<span style="color: red">'+data.message+'</span>',{icon: 7, title:'警告提示'}); layer.confirm('<span style="color: red">'+data.message+'</span>',{icon: 7, title:'警告提示'});
}else { }else {
if (data.message == null || data.message == ""){ if (data.message == null || data.message == ""){
layer.confirm('<span style="color: red">'+data.result.xxms+'</span>',{icon: 2, title:'推送错误提示'}); layer.confirm('<span style="color: red">'+data.result.xxms+'</span>',{icon: 2, title:'推送错误提示'},function () {
if (data.message.search("不合格") != -1) {
startIris('lefteyeimg','righteyeimg','3')
layer.closeAll('dialog');
}else {
layer.closeAll('dialog');
}
});
}else { }else {
layer.confirm('<span style="color: red">'+data.message+'</span>',{icon: 2, title:'推送错误提示'}); layer.confirm('<span style="color: red">'+data.message+'</span>',{icon: 2, title:'推送错误提示'},function () {
if (data.message.search("不合格") != -1) {
startIris('lefteyeimg','righteyeimg','3')
layer.closeAll('dialog');
}else {
layer.closeAll('dialog');
}
});
} }
} }
// window.close(); // window.close();
......
...@@ -10,6 +10,7 @@ import com.founder.service.IParamService; ...@@ -10,6 +10,7 @@ import com.founder.service.IParamService;
import com.founder.service.LoginService; import com.founder.service.LoginService;
import com.founder.service.RycjService; import com.founder.service.RycjService;
import com.founder.utils.DateFormatUtils; import com.founder.utils.DateFormatUtils;
import com.founder.utils.DateUtil;
import com.founder.utils.FileUtils; import com.founder.utils.FileUtils;
import org.apache.commons.codec.binary.Base64; import org.apache.commons.codec.binary.Base64;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
...@@ -971,22 +972,30 @@ public class HmCjTsController { ...@@ -971,22 +972,30 @@ public class HmCjTsController {
res.put("zjbz", "1"); res.put("zjbz", "1");
res.put("lrbz", "2"); res.put("lrbz", "2");
res.put("qzcjbz", "0"); res.put("qzcjbz", "0");
res.put("bcjr_zjlxdm", "111"); if ( "无".equals(hmxxs.get(0).getGmsfhm()) || "无".equals(hmxxs.get(0).getZjhm())|| (StringUtils.isBlank(hmxxs.get(0).getGmsfhm()) && StringUtils.isBlank(hmxxs.get(0).getZjhm()))){
res.put("bcjr_zjlxdm", "999");
}else {
res.put("bcjr_zjlxdm", "111");
}
String sfzh = ""; String sfzh = "";
if (hmxxs.get(0).getGmsfhm() == null || "".equals(hmxxs.get(0).getGmsfhm())) { if(hmxxs.get(0).getGmsfhm()==null||"".equals(hmxxs.get(0).getGmsfhm())){
sfzh = hmxxs.get(0).getZjhm(); sfzh = hmxxs.get(0).getZjhm();
} else { }else{
sfzh = hmxxs.get(0).getGmsfhm(); sfzh = hmxxs.get(0).getGmsfhm();
} }
res.put("bcjr_zjhm", sfzh); res.put("bcjr_zjhm",sfzh);
res.put("bcjr_xm", hmxxs.get(0).getXm()); res.put("bcjr_xm",hmxxs.get(0).getXm());
res.put("bcjr_xb", hmxxs.get(0).getXbdm()); res.put("bcjr_xb",hmxxs.get(0).getXbdm());
if (sfzh != null && sfzh.length() > 14) { if(sfzh!=null&&sfzh.length()>14){
res.put("bcjr_csrq", sfzh.substring(6, 14)); res.put("bcjr_csrq",sfzh.substring(6,10)+"-"+sfzh.substring(10,12)+"-"+sfzh.substring(12,14));
} else { }else{
res.put("bcjr_csrq", ""); res.put("bcjr_csrq", hmxxs.get(0).getCsrqQsrq());
}
if (StringUtils.isNotBlank(hmxxs.get(0).getMzdm())){
res.put("bcjr_mz",hmxxs.get(0).getMzdm());
}else {
res.put("bcjr_mz", "98");
} }
res.put("bcjr_mz", hmxxs.get(0).getMzdm());
res.put("bcjr_gj", hmxxs.get(0).getGjdm()); res.put("bcjr_gj", hmxxs.get(0).getGjdm());
res.put("bcjr_zjqfjg", ""); res.put("bcjr_zjqfjg", "");
res.put("bcjr_zjyxqx", ""); res.put("bcjr_zjyxqx", "");
...@@ -1118,22 +1127,30 @@ public class HmCjTsController { ...@@ -1118,22 +1127,30 @@ public class HmCjTsController {
res.put("zjbz", "1"); res.put("zjbz", "1");
res.put("lrbz", "2"); res.put("lrbz", "2");
res.put("qzcjbz", "0"); res.put("qzcjbz", "0");
res.put("bcjr_zjlxdm", "111"); if ( "无".equals(hmxxs.get(0).getGmsfhm()) || "无".equals(hmxxs.get(0).getZjhm())|| (StringUtils.isBlank(hmxxs.get(0).getGmsfhm()) && StringUtils.isBlank(hmxxs.get(0).getZjhm()))){
res.put("bcjr_zjlxdm", "999");
}else {
res.put("bcjr_zjlxdm", "111");
}
String sfzh = ""; String sfzh = "";
if (hmxxs.get(0).getGmsfhm() == null || "".equals(hmxxs.get(0).getGmsfhm())) { if(hmxxs.get(0).getGmsfhm()==null||"".equals(hmxxs.get(0).getGmsfhm())){
sfzh = hmxxs.get(0).getZjhm(); sfzh = hmxxs.get(0).getZjhm();
} else { }else{
sfzh = hmxxs.get(0).getGmsfhm(); sfzh = hmxxs.get(0).getGmsfhm();
} }
res.put("bcjr_zjhm", sfzh); res.put("bcjr_zjhm",sfzh);
res.put("bcjr_xm", hmxxs.get(0).getXm()); res.put("bcjr_xm",hmxxs.get(0).getXm());
res.put("bcjr_xb", hmxxs.get(0).getXbdm()); res.put("bcjr_xb",hmxxs.get(0).getXbdm());
if (sfzh != null && sfzh.length() > 14) { if(sfzh!=null&&sfzh.length()>14){
res.put("bcjr_csrq", sfzh.substring(6, 14)); res.put("bcjr_csrq",sfzh.substring(6,10)+"-"+sfzh.substring(10,12)+"-"+sfzh.substring(12,14));
} else { }else{
res.put("bcjr_csrq", ""); res.put("bcjr_csrq", hmxxs.get(0).getCsrqQsrq());
}
if (StringUtils.isNotBlank(hmxxs.get(0).getMzdm())){
res.put("bcjr_mz",hmxxs.get(0).getMzdm());
}else {
res.put("bcjr_mz", "98");
} }
res.put("bcjr_mz", hmxxs.get(0).getMzdm());
res.put("bcjr_gj", hmxxs.get(0).getGjdm()); res.put("bcjr_gj", hmxxs.get(0).getGjdm());
res.put("bcjr_zjqfjg", ""); res.put("bcjr_zjqfjg", "");
res.put("bcjr_zjyxqx", ""); res.put("bcjr_zjyxqx", "");
...@@ -1268,9 +1285,13 @@ public class HmCjTsController { ...@@ -1268,9 +1285,13 @@ public class HmCjTsController {
res.put("zjbz","1"); res.put("zjbz","1");
res.put("lrbz","2"); res.put("lrbz","2");
res.put("qzcjbz","1"); res.put("qzcjbz","1");
res.put("bcjr_zjlxdm","111"); if ( "无".equals(xyrC.getGmsfhm()) || "无".equals(xyrC.getZjhm())|| (StringUtils.isBlank(xyrC.getGmsfhm()) && StringUtils.isBlank(xyrC.getZjhm()))){
res.put("bcjr_zjlxdm","999");
}else {
res.put("bcjr_zjlxdm","111");
}
String sfzh = ""; String sfzh = "";
if(xyrC.getGmsfhm()==null||"".equals(xyrC.getGmsfhm())){ if(xyrC.getGmsfhm()==null||"".equals(xyrC.getGmsfhm())){
sfzh = xyrC.getZjhm(); sfzh = xyrC.getZjhm();
}else{ }else{
sfzh = xyrC.getGmsfhm(); sfzh = xyrC.getGmsfhm();
...@@ -1281,10 +1302,13 @@ public class HmCjTsController { ...@@ -1281,10 +1302,13 @@ public class HmCjTsController {
if(sfzh!=null&&sfzh.length()>14){ if(sfzh!=null&&sfzh.length()>14){
res.put("bcjr_csrq",sfzh.substring(6,10)+"-"+sfzh.substring(10,12)+"-"+sfzh.substring(12,14)); res.put("bcjr_csrq",sfzh.substring(6,10)+"-"+sfzh.substring(10,12)+"-"+sfzh.substring(12,14));
}else{ }else{
res.put("bcjr_csrq",""); res.put("bcjr_csrq", DateFormatUtils.dateToStr(xyrC.getCsrqQsrq()));
}
if (StringUtils.isNotBlank(xyrC.getMzdm())){
res.put("bcjr_mz",xyrC.getMzdm());
}else {
res.put("bcjr_mz", "98");
} }
res.put("bcjr_mz",xyrC.getMzdm());
res.put("bcjr_gj",xyrC.getGjdm()); res.put("bcjr_gj",xyrC.getGjdm());
res.put("bcjr_zjqfjg",""); res.put("bcjr_zjqfjg","");
res.put("bcjr_zjyxqx",""); res.put("bcjr_zjyxqx","");
...@@ -1410,23 +1434,30 @@ public class HmCjTsController { ...@@ -1410,23 +1434,30 @@ public class HmCjTsController {
res.put("zjbz", "1"); res.put("zjbz", "1");
res.put("lrbz", "2"); res.put("lrbz", "2");
res.put("qzcjbz", "1"); res.put("qzcjbz", "1");
res.put("bcjr_zjlxdm", "111"); if ( "无".equals(hmxxs.get(0).getGmsfhm()) || "无".equals(hmxxs.get(0).getZjhm())|| (StringUtils.isBlank(hmxxs.get(0).getGmsfhm()) && StringUtils.isBlank(hmxxs.get(0).getZjhm()))){
res.put("bcjr_zjlxdm", "999");
}else {
res.put("bcjr_zjlxdm", "111");
}
String sfzh = ""; String sfzh = "";
if (hmxxs.get(0).getGmsfhm() == null || "".equals(hmxxs.get(0).getGmsfhm())) { if(hmxxs.get(0).getGmsfhm()==null||"".equals(hmxxs.get(0).getGmsfhm())){
sfzh = hmxxs.get(0).getZjhm(); sfzh = hmxxs.get(0).getZjhm();
} else { }else{
sfzh = hmxxs.get(0).getGmsfhm(); sfzh = hmxxs.get(0).getGmsfhm();
} }
res.put("bcjr_zjhm", sfzh); res.put("bcjr_zjhm",sfzh);
res.put("bcjr_xm", hmxxs.get(0).getXm()); res.put("bcjr_xm",hmxxs.get(0).getXm());
res.put("bcjr_xb", hmxxs.get(0).getXbdm()); res.put("bcjr_xb",hmxxs.get(0).getXbdm());
if (sfzh != null && sfzh.length() > 14) { if(sfzh!=null&&sfzh.length()>14){
res.put("bcjr_csrq", sfzh.substring(6, 10) + "-" + sfzh.substring(10, 12) + "-" + sfzh.substring(12, 14)); res.put("bcjr_csrq",sfzh.substring(6,10)+"-"+sfzh.substring(10,12)+"-"+sfzh.substring(12,14));
} else { }else{
res.put("bcjr_csrq", ""); res.put("bcjr_csrq", hmxxs.get(0).getCsrqQsrq());
}
if (StringUtils.isNotBlank(hmxxs.get(0).getMzdm())){
res.put("bcjr_mz",hmxxs.get(0).getMzdm());
}else {
res.put("bcjr_mz", "98");
} }
res.put("bcjr_mz", hmxxs.get(0).getMzdm());
res.put("bcjr_gj", hmxxs.get(0).getGjdm()); res.put("bcjr_gj", hmxxs.get(0).getGjdm());
res.put("bcjr_zjqfjg", ""); res.put("bcjr_zjqfjg", "");
res.put("bcjr_zjyxqx", ""); res.put("bcjr_zjyxqx", "");
......
...@@ -81,6 +81,15 @@ public class TbStHm extends User implements Serializable { ...@@ -81,6 +81,15 @@ public class TbStHm extends User implements Serializable {
private String lxdm2; private String lxdm2;
private String sfts;//是否推送 private String sfts;//是否推送
private String tsjgmx;//推送结果描述 private String tsjgmx;//推送结果描述
private String csrqQsrq;//出生日期
public String getCsrqQsrq() {
return csrqQsrq;
}
public void setCsrqQsrq(String csrqQsrq) {
this.csrqQsrq = csrqQsrq;
}
public String getTsjgmx() { public String getTsjgmx() {
return tsjgmx; return tsjgmx;
......
...@@ -132,6 +132,7 @@ ...@@ -132,6 +132,7 @@
cj.XZZ_XZQHDM as xzzXzqhdm, cj.XZZ_XZQHDM as xzzXzqhdm,
cj.LXDM as lxdm, cj.LXDM as lxdm,
cj.LXDM2 as lxdm2, cj.LXDM2 as lxdm2,
to_char(cj.CSRQ_QSRQ,'yyyyMM') as csrqQsrq,
u.USERNAME as username, u.USERNAME as username,
u.UNITCODE as unitcode, u.UNITCODE as unitcode,
u.TRUE_NAME as trueName, u.TRUE_NAME as trueName,
......
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