Commit d147b4cc by wangling

批注对象添加参数

parent c3f9e421
......@@ -23,6 +23,8 @@ public class TbStPzxx {
private String objectType; //参数对象类型编号
private String objectTypeName; //参数对象类型名称
private String objectValue; //参数对象类型值
private String objTypeName;//标识号类型名称
private String objValue;//标识号
private String pzNr; //批注内容信息
private String pzrXm; //批注人姓名
private String pzrUnitcode; //批注人单位
......
......@@ -24,6 +24,8 @@
<if test='objectTypeName=="手机号码"'>
<if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if>
</if>
<if test="objTypeName!= null and objTypeName!= ''"> and td.OBJECT_TYPE_NAME = #{objTypeName,jdbcType=VARCHAR}</if>
<if test="objValue!= null and objValue!= ''"> and td.OBJECT_VALUE = #{objValue,jdbcType=VARCHAR}</if>
</select>
<select id="findTogetherDetailxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.regionalanalysis.model.RegionalTaskResultDetail">
select
......@@ -50,6 +52,8 @@
<if test='objectTypeName=="手机号码"'>
<if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if>
</if>
<if test="objTypeName!= null and objTypeName!= ''"> and td.OBJECT_TYPE_NAME = #{objTypeName,jdbcType=VARCHAR}</if>
<if test="objValue!= null and objValue!= ''"> and td.OBJECT_VALUE = #{objValue,jdbcType=VARCHAR}</if>
</select>
<select id="findHsDetailxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.spatiotemporalBackTrack.model.SBTResultDetail">
select
......@@ -76,6 +80,8 @@
<if test='objectTypeName=="手机号码"'>
<if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if>
</if>
<if test="objTypeName!= null and objTypeName!= ''"> and td.OBJECT_TYPE_NAME = #{objTypeName,jdbcType=VARCHAR}</if>
<if test="objValue!= null and objValue!= ''"> and td.OBJECT_VALUE = #{objValue,jdbcType=VARCHAR}</if>
</select>
<select id="getPzxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.pzxx.model.TbStPzxx">
SELECT
......
......@@ -63,7 +63,7 @@ function doClearFl(){
var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
}
},
{title : '号码',field : 'zjhm',align:'center',width : "24%",formatter:function(val,row,index){
......@@ -875,6 +875,8 @@ function getCurrentTime(){
}
//保存批注信息
function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val();
......@@ -882,7 +884,7 @@ function savaPzxx(obj,ind){
method: 'post',
url: '/savePzxx',
dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) {
if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"});
......
......@@ -79,7 +79,7 @@ function doClearFl(){
}
var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i></span>";
return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i></span>";
}
},
/* {title:"标识号类型",field:"objectTypeName",align:'center',width:'10%'},*/
......@@ -1044,6 +1044,8 @@ function getCurrentTime(){
}
//保存批注信息
function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val();
......@@ -1051,7 +1053,7 @@ function savaPzxx(obj,ind){
method: 'post',
url: '/savePzxx',
dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) {
if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"});
......
......@@ -62,7 +62,7 @@ function doClearFl(){
}
var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "25%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
}
},
{title:"伴随次数",field:"count",align:'center',width:'10%'},
......@@ -757,6 +757,8 @@ function getCurrentTime(){
}
//保存批注信息
function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val();
......@@ -764,7 +766,7 @@ function savaPzxx(obj,ind){
method: 'post',
url: '/savePzxx',
dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) {
if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"});
......
......@@ -63,7 +63,7 @@ function doClearFl(){
var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
}
},
/*{title:"标识号类型",field:"objectTypeName",align:'center',width:'12%'},*/
......@@ -789,6 +789,8 @@ function getCurrentTime(){
}
//保存批注信息
function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val();
......@@ -796,7 +798,7 @@ function savaPzxx(obj,ind){
method: 'post',
url: '/savePzxx',
dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) {
if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"});
......
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