java110
2021-05-09 f42983b35c738a28ed4b9d1732d1045c5f2a19bb
java110-db/src/main/resources/mapper/store/AllocationStorehouseApplyServiceDaoImplMapper.xml
@@ -91,8 +91,11 @@
    <select id="getAllocationStorehouseApplyInfo" parameterType="Map" resultType="Map">
        select t.apply_id,t.apply_id applyId,t.start_user_id,t.start_user_id
        startUserId,t.start_user_name,t.start_user_name startUserName,t.apply_count,t.apply_count
        applyCount,t.remark,t.status_cd,t.status_cd statusCd,t.state,t.b_id,t.b_id bId,t.store_id,t.store_id storeId
        applyCount,t.remark,t.status_cd,t.status_cd statusCd,t.state,t.b_id,t.b_id bId,t.store_id,t.store_id storeId,
        td.name stateName,t.create_time createTime
        from allocation_storehouse_apply t
        left join t_dict td on t.state = td.status_cd and td.table_name = 'allocation_storehouse' and td.table_columns =
        'state'
        where 1 =1
        <if test="applyId !=null and applyId != ''">
            and t.apply_id= #{applyId}