|
@@ -105,7 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
a.frdjjg djbm, a.frlxfs dh, a.sczt bdlx, a.cwbj lx,
|
|
|
( case when SUBSTRING(dwxz,1,1) =3 then 10 when SUBSTRING(dwxz,1,1) =2 then 30 when dwxz =42 then 42 else null end) jglx,
|
|
|
( case when SUBSTRING(dwxz,1,1) =3 then 2 when SUBSTRING(dwxz,1,1) =2 then 1 when dwxz =42 then 3 else null end ) xz,
|
|
|
- a.xbzt, a.yljgzyxkzh yljgzyxkzdjh, a.jzmj jgjzmj,
|
|
|
+ a.xbzt, a.jzmj jgjzmj,
|
|
|
(select count(0) from yljg_yg_jbxx where jg_id = a.id and state = '1') nmzgrs,
|
|
|
(select count(0) from yljg_yg_jbxx where jg_id = a.id and state = '1' and xb = '2') nzgrs,
|
|
|
(select count(0) from yljg_yg_jbxx where jg_id = a.id and state = '1' and zylx in ('01','02','03','06','09','10')) yhry,
|