parent
a512986859
commit
57bd46e784
|
@ -6,6 +6,7 @@ import java.util.Map;
|
||||||
|
|
||||||
import com.zcloud.mapper.datasource.bus.IdentificationPartsMapper;
|
import com.zcloud.mapper.datasource.bus.IdentificationPartsMapper;
|
||||||
import com.zcloud.mapper.datasource.bus.RiskPointMapper;
|
import com.zcloud.mapper.datasource.bus.RiskPointMapper;
|
||||||
|
import com.zcloud.util.Jurisdiction;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
@ -118,6 +119,7 @@ public class RiskUnitServiceImpl implements RiskUnitService{
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
//获取风险单元数、辨识部位数和风险因素数
|
//获取风险单元数、辨识部位数和风险因素数
|
||||||
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
List<PageData> riskUnit = riskunitMapper.listAll(pd);
|
List<PageData> riskUnit = riskunitMapper.listAll(pd);
|
||||||
List<PageData> identificationParts = identificationPartsMapper.listAll(pd);
|
List<PageData> identificationParts = identificationPartsMapper.listAll(pd);
|
||||||
List<PageData> riskPoint = riskPointMapper.listAll(pd);
|
List<PageData> riskPoint = riskPointMapper.listAll(pd);
|
||||||
|
|
|
@ -297,6 +297,9 @@
|
||||||
left join bus_riskunit un on un.RISKUNIT_ID = f.RISK_UNIT_ID
|
left join bus_riskunit un on un.RISKUNIT_ID = f.RISK_UNIT_ID
|
||||||
left join bus_identificationparts id on id.IDENTIFICATIONPARTS_ID = f.IDENTIFICATION_ID
|
left join bus_identificationparts id on id.IDENTIFICATIONPARTS_ID = f.IDENTIFICATION_ID
|
||||||
where f.ISDELETE = '0'
|
where f.ISDELETE = '0'
|
||||||
|
<if test="CORPINFO_ID != null and CORPINFO_ID != ''">
|
||||||
|
and f.CORPINFO_ID = #{CORPINFO_ID}
|
||||||
|
</if>
|
||||||
<if test="CHECK_IDENTIFICATION_ID != null and CHECK_IDENTIFICATION_ID != ''">
|
<if test="CHECK_IDENTIFICATION_ID != null and CHECK_IDENTIFICATION_ID != ''">
|
||||||
and f.IDENTIFICATION_ID=#{CHECK_IDENTIFICATION_ID}
|
and f.IDENTIFICATION_ID=#{CHECK_IDENTIFICATION_ID}
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue