Commit f0743212 authored by 赵啸非's avatar 赵啸非

修改办件查询列表

parent 85648e5c
......@@ -78,7 +78,7 @@ public class DoworkStatServiceImpl extends AbstractCRUDServiceImpl<DoworkStatDao
String gatePath = "/api/jmas-api-gateway-server/gateway.do";
paramsMap.put("sign", sign);
resp = HttpUtil.post(statUrl + gatePath, paramsMap);
log.info("resp:{}", resp);
ApiZwfwResp<String> apiZwfwResp = JSON.parseObject(resp, new TypeReference<ApiZwfwResp<String>>() {
});
if (apiZwfwResp.getSuccess()) {
......@@ -173,9 +173,9 @@ public class DoworkStatServiceImpl extends AbstractCRUDServiceImpl<DoworkStatDao
});
if (doworkStatInfoRest.getCode() == 200) {
DoworkStatInfo doworkStatInfo = doworkStatInfoRest.getData();
//更新记录
//更新记录 上月记录
int year = DateUtil.year(new Date());
int month = DateUtil.month(new Date()) + 1;
int month = DateUtil.month(new Date());
DoworkStatEntity doworkStatEntity = this.selectOne(new DoworkStatQuery().areaCode(areaCode).year(year).month(month));
if (!ObjectUtils.isEmpty(doworkStatEntity)) {
......
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