| | |
| | | <if test="unitNum !=null and unitNum != ''"> |
| | | and t.unit_num= #{unitNum} |
| | | </if> |
| | | <if test="unitName !=null and unitName != ''"> |
| | | and t.unit_name= #{unitName} |
| | | </if> |
| | | <if test="lift !=null and lift != ''"> |
| | | and t.lift= #{lift} |
| | | </if> |
| | |
| | | <!-- 保存小区单元信息至 instance表中 add by wuxw 2018-07-03 --> |
| | | <insert id="saveUnitInfoInstance" parameterType="Map"> |
| | | insert into building_unit( |
| | | floor_id,layer_count,unit_id,unit_num,lift,status_cd,remark,b_id,user_id,unit_area |
| | | floor_id,layer_count,unit_id,unit_num,unit_name,lift,status_cd,remark,b_id,user_id,unit_area |
| | | ) select t.floor_id,t.layer_count,t.unit_id,t.unit_num,t.lift,'0',t.remark,t.b_id,t.user_id,t.unit_area |
| | | from |
| | | business_building_unit t where 1=1 |
| | |
| | | </if> |
| | | <if test="unitNum !=null and unitNum != ''"> |
| | | and t.unit_num= #{unitNum} |
| | | </if> |
| | | <if test="unitName !=null and unitName != ''"> |
| | | and t.unit_name= #{unitName} |
| | | </if> |
| | | <if test="lift !=null and lift != ''"> |
| | | and t.lift= #{lift} |
| | |
| | | <if test="unitNum !=null and unitNum != ''"> |
| | | and t.unit_num= #{unitNum} |
| | | </if> |
| | | <if test="unitName !=null and unitName != ''"> |
| | | and t.unit_name= #{unitName} |
| | | </if> |
| | | <if test="lift !=null and lift != ''"> |
| | | and t.lift= #{lift} |
| | | </if> |
| | |
| | | </if> |
| | | <if test="unitNum !=null and unitNum != ''"> |
| | | , t.unit_num= #{unitNum} |
| | | </if> |
| | | <if test="unitName!=null and unitName != ''"> |
| | | , t.unit_name= #{unitName} |
| | | </if> |
| | | <if test="lift !=null and lift != ''"> |
| | | , t.lift= #{lift} |
| | |
| | | <if test="unitNum !=null and unitNum != ''"> |
| | | and t.unit_num= #{unitNum} |
| | | </if> |
| | | <if test="unitName !=null and unitName != ''"> |
| | | and t.unit_name= #{unitName} |
| | | </if> |
| | | <if test="lift !=null and lift != ''"> |
| | | and t.lift= #{lift} |
| | | </if> |