| | |
| | | </resultMap> |
| | | |
| | | |
| | | <insert id="insertIn" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into sys_information (creditcode) values (#{information.creditcode}) |
| | | </insert> |
| | | |
| | | |
| | | <select id="selectInformationPage" resultMap="informationResultMap"> |
| | | select * from sys_information where 1=1 |
| | | <if test="information.enterprisename!=null and information.enterprisename!=''"> |
| | |
| | | ) B ON A.dept_id = B.dept_id |
| | | WHERE A.dept_id = #{deptid} |
| | | </select> |
| | | |
| | | |
| | | <!--保安员持证和未持证数量--> |
| | | <select id="selectHold" resultType="java.util.HashMap"> |
| | | SELECT IFNULL(A.thisnum, 0) AS cz, |