浏览代码

update 代理记录

linweizeng 3 年之前
父节点
当前提交
991ed20b55
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/platform/bpmn/bpmTaskChange/list.vue

+ 1 - 1
src/views/platform/bpmn/bpmTaskChange/list.vue

@@ -159,7 +159,7 @@ export default {
     },
     //反查代理数据
     getDaiLi(val1,val2,createTime,callback){
-        let sql =   `select * from ibps_bpm_agent where DELEGATOR_ID_ = '${val1}' and AGENTER_ID_ = '${val2}' and IS_ENABLED_ = 'enabled' and '${createTime}' BETWEEN EFFECTIVE_TIME_ and EXPIRY_TIME_`
+        let sql =   `select * from ibps_bpm_agent where DELEGATOR_ID_ = '${val1}' and AGENTER_ID_ = '${val2}' and IS_ENABLED_ = 'enabled' and DATE_FORMAT('${createTime}','%Y-%m-%d') BETWEEN EFFECTIVE_TIME_ and EXPIRY_TIME_`
         curdPost('sql',sql).then((res)=> {
             if(res.state == 200){
                 let datas = res.variables.data