|
@@ -121,7 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select count(0) from yljg_yg_jbxx where jg_id = a.id and state = '1' and zylx not in ('11','99')) zyjsjnry,
|
|
|
(select count(0) from yljg_yg_jbxx where jg_id = a.id and state = '1' and zylx = '01') ylhly,
|
|
|
a.cwzs nmcws, a.hlxcws hlxcw,
|
|
|
- CONVERT(((select count(0) FROM yljg_kh_jbxx WHERE status = '0' AND is_qy = '1' AND is_rz = '1' AND jg_id = a.id ) * FLOOR(182 + RAND() * (365 - 182 + 1))),SIGNED) nzyzrs,
|
|
|
+ CONVERT(((select count(0) FROM yljg_kh_jbxx WHERE status = '0' AND is_qy = '1' AND is_rz = '1' AND jg_id = a.id ) * FLOOR(182 + RAND() * (365 - 182 + 1))),SIGNED) AS nzyzrs,
|
|
|
(select count(0) FROM yljg_kh_jbxx WHERE status = '0' AND is_qy = '1' AND is_rz = '1' AND jg_id = a.id ) nmzyzrs,
|
|
|
(select count(0) FROM yljg_kh_jbxx WHERE status = '0' AND is_qy = '1' AND is_rz = '1' AND jg_id = a.id AND xb = '2') nmzynxrs,
|
|
|
(select count(0) FROM yljg_kh_jbxx WHERE status = '0' AND is_qy = '1' AND is_rz = '1' AND jg_id = a.id AND (is_tk = '1' or is_db = '1')) tkryjzgydx,
|