Commit 78fef8cf authored by yff's avatar yff

计数修改

parent eb853929
...@@ -1851,6 +1851,10 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao { ...@@ -1851,6 +1851,10 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap.append(" and GPFKJG_FKBX = :pBXID "); sqlMap.append(" and GPFKJG_FKBX = :pBXID ");
sqlMap.setParamValue("pBXID",condition.getBxid()); sqlMap.setParamValue("pBXID",condition.getBxid());
} }
if (StringUtils.isNotEmpty(condition.getBzgxid())){
sqlMap.append(" and GPFKJG_BZGXID = :pBZGXID ");
sqlMap.setParamValue("pBZGXID",condition.getBzgxid());
}
if (StringUtils.isNotEmpty(condition.getFkrid())){ if (StringUtils.isNotEmpty(condition.getFkrid())){
sqlMap.append(" and GPFKJG_FKRID = :pFKRID "); sqlMap.append(" and GPFKJG_FKRID = :pFKRID ");
sqlMap.setParamValue("pFKRID",condition.getFkrid()); sqlMap.setParamValue("pFKRID",condition.getFkrid());
......
...@@ -1956,6 +1956,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService ...@@ -1956,6 +1956,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
public GpfkVO queryDailyFkInfoUpgrade(GpfkCondition gpfkCondition) { public GpfkVO queryDailyFkInfoUpgrade(GpfkCondition gpfkCondition) {
Date nowDate = DateUtils.getDateTime(); Date nowDate = DateUtils.getDateTime();
gpfkCondition.setYwrq(getGpfkYwrqByFksj(nowDate,gpfkCondition.getBxid())); gpfkCondition.setYwrq(getGpfkYwrqByFksj(nowDate,gpfkCondition.getBxid()));
gpfkCondition.setFkrid(UserInfoUtil.getUserId());
GpfkVO gpfkVO = gpfkDao.queryDailyFkInfoUpgrade(gpfkCondition); GpfkVO gpfkVO = gpfkDao.queryDailyFkInfoUpgrade(gpfkCondition);
if(gpfkVO == null){ if(gpfkVO == null){
gpfkVO = new GpfkVO(); gpfkVO = new GpfkVO();
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
/* 获取计数 */ /* 获取计数 */
function zpfk_apigetjs(s){ function zpfk_apigetjs(s){
let that=s let that=s
gas.post('kmes/gpfk/getDailyInfo',{}, function(res){ gas.post('kmes/gpfk/getDailyInfo',{"bzgxid":window.bzlx}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
that.fksl=res.data.records.fksl||0 that.fksl=res.data.records.fksl||0
}else{ }else{
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
/* 反馈技计数 */ /* 反馈技计数 */
function jyfk_apigetjs(s){ function jyfk_apigetjs(s){
let that=s let that=s
gas.post('kmes/gpfk/getDailyInfo',{}, function(res){ gas.post('kmes/gpfk/getDailyInfo',{"bzgxid":window.bzlx}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
that.fksl=res.data.records.fksl||0 that.fksl=res.data.records.fksl||0
}else{ }else{
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
/* 反馈技计数 */ /* 反馈技计数 */
function wxfk_apigetjs(s){ function wxfk_apigetjs(s){
let that=s let that=s
gas.post('kmes/gpfk/getDailyInfo',{}, function(res){ gas.post('kmes/gpfk/getDailyInfo',{"bzgxid":window.bzlx}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
that.fksl=res.data.records.fksl||0 that.fksl=res.data.records.fksl||0
}else{ }else{
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
/* 获取计数 */ /* 获取计数 */
function jgfk_apigetjs(s){ function jgfk_apigetjs(s){
let that=s let that=s
gas.post('kmes/gpfk/getDailyInfo',{}, function(res){ gas.post('kmes/gpfk/getDailyInfo',{"bzgxid":window.bzlx}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
that.fksl=res.data.records.fksl||0 that.fksl=res.data.records.fksl||0
}else{ }else{
......
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