Ver Fonte

update 代理记录

linweizeng há 3 anos atrás
pai
commit
991ed20b55
1 ficheiros alterados com 1 adições e 1 exclusões
  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