|
@ -874,15 +874,9 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
@ResponseBody
|
|
|
public String findNoHealthSignFamilyNum(long teamCode) {
|
|
|
try {
|
|
|
List<SignFamily> signFamily = familyContractService.findNoHealthSignFamilyNum(teamCode);
|
|
|
int count = familyContractService.findNoHealthSignFamilyFocusNum(teamCode);
|
|
|
JSONObject jo = new JSONObject();
|
|
|
if (signFamily != null && signFamily.size() > 0) {
|
|
|
jo.put("date", DateUtil.dateToStr(signFamily.get(0).getCzrq(), "yyyy-MM-dd"));
|
|
|
jo.put("num", count + "/" + signFamily.size());
|
|
|
} else {
|
|
|
jo.put("num", "0/0");
|
|
|
}
|
|
|
jo.put("num", count);
|
|
|
return write(200, "查询成功", "data", jo);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|